package com.sg.service.biz.bff.impl;

import cn.hutool.core.bean.BeanUtil;
import cn.hutool.core.collection.CollectionUtil;
import com.sg.common.util.CommonFunctionHelper;
import com.sg.common.util.RedisUtil;
import com.sg.dto.biz.bff.req.*;
import com.sg.dto.biz.bff.res.*;
import com.sg.dto.integration.component.ImplementMarkdownTurnToTextComReqDto;
import com.sg.dto.integration.component.ImplementMarkdownTurnToTextComRespDto;
import com.sg.dto.integration.component.ImplementSeparateAddOrDeleteDocListComReqDto;
import com.sg.dto.integration.component.ImplementSeparateAddOrDeleteDocListComRespDto;
import com.sg.service.biz.bff.CycleStageDataService;
import com.wicket.okrapp.integration.*;
import com.wicket.okrapp.integration.dto.*;
import com.sg.common.exception.Assert;
import com.wicket.okrbff.common.exception.BizException;
import com.wicket.okrcalc.integration.StandardDataService;
import com.wicket.okrcalc.integration.WorkTasksService;
import com.wicket.okrcalc.integration.dto.*;
import com.wicket.okrcomponent.integration.InterfaceModeService;
import com.wicket.okrcomponent.integration.UnstructuredDataService;
import com.wicket.okrframework.integration.InductionRecordService;
import com.wicket.okrframework.integration.dto.*;
import org.apache.skywalking.apm.toolkit.trace.Tag;
import org.apache.skywalking.apm.toolkit.trace.Tags;
import org.apache.skywalking.apm.toolkit.trace.Trace;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.stream.Collectors;

/**
 * @author ：
 * @version 1.0
 * @date ：
 */
@Service
public class CycleStageDataServiceImpl implements CycleStageDataService {

    @Resource
    private RedisUtil redisUtil;
    @Resource
    com.sg.service.biz.app.CycleStageDataService fwAppCycleStageDataClient;
    @Resource
    com.sg.service.biz.app.TaskService fwAppTaskClient;
    @Resource
    com.sg.service.biz.framework.InductionRecordService fwBaseInductionRecordClient;
    @Resource
    com.sg.service.biz.app.BatchService fwAppBatchClient;
    @Resource
    com.sg.service.biz.app.TargetCycleService fwAppTargetCycleClient;

    @Resource
    com.sg.service.biz.app.UnstructuredDataService fwAppUnstructuredDataClient;
    @Resource
    com.sg.service.biz.calc.StandardDataService fwCalcStandardDataClient;
    @Resource
    com.sg.service.biz.framework.InterfaceModeService fwCompInterfaceModeClient;
    @Resource
    com.sg.service.biz.component.UnstructuredDataService fwCompUnstructuredDataClient;
    @Resource
    com.sg.service.biz.app.IndexSystemService fwAppIndexSystemClient;
    @Resource
    com.sg.service.biz.app.StandardDataService fwAppStandardDataClient;
    @Resource
    com.sg.service.biz.app.EvaCalcService fwAppEvaCalcClient;
    @Resource
    com.sg.service.biz.calc.WorkTasksService fwCalcWorkTasksClient;

    /**
     * B3-查询阶段工作总结内容详情[3298]
     * gen by moon at 9/24/2022, 4:28:40 AM
     */
    @Trace(operationName = "B3-查询阶段工作总结内容详情")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffQueryStaWorkSumConDetailRespDto queryStaWorkSumConDetail(BffQueryStaWorkSumConDetailReqDto reqDto) {


        QueryStaWorkSumConDetailRespDto queryStaWorkSumConDetailRespDto_1 = null;
//步骤0: D3-查询阶段工作总结内容详情 - queryStaWorkSumConDetail
        QueryStaWorkSumConDetailRespDto queryStaWorkSumConDetailRespDto = null;
        QueryStaWorkSumConDetailReqDto queryStaWorkSumConDetailReqDto = new QueryStaWorkSumConDetailReqDto();
        queryStaWorkSumConDetailReqDto.setSubjectLifeCycle("EDITING");//sourceId:127357_1
        if (reqDto != null) {
            queryStaWorkSumConDetailReqDto.setCycleStageDataId(reqDto.getCycleStageDataId());//sourceId:127356_1
        }

        /*D3-查询阶段工作总结内容详情[3299]   */
        Assert.isNull(queryStaWorkSumConDetailReqDto.getCycleStageDataId(), "B3-查询阶段工作总结内容详情-D3-查询阶段工作总结内容详情-周期阶段资料记录ID不能为空", false);
        Assert.isNull(queryStaWorkSumConDetailReqDto.getSubjectLifeCycle(), "B3-查询阶段工作总结内容详情-D3-查询阶段工作总结内容详情-主体生命周期不能为空", false);
        queryStaWorkSumConDetailRespDto = fwAppCycleStageDataClient.queryStaWorkSumConDetail(queryStaWorkSumConDetailReqDto).getData();


        queryStaWorkSumConDetailRespDto_1 = queryStaWorkSumConDetailRespDto;

        BffQueryStaWorkSumConDetailRespDto retData = new BffQueryStaWorkSumConDetailRespDto();
        if (queryStaWorkSumConDetailRespDto_1 != null) {
            retData.setCycleStageDataId(queryStaWorkSumConDetailRespDto_1.getCycleStageDataId());//sourceId:127368_1
            retData.setCycleDataObjId(queryStaWorkSumConDetailRespDto_1.getCycleDataObjId());//sourceId:127369_1
            retData.setHypertextContent(queryStaWorkSumConDetailRespDto_1.getHypertextContent());//sourceId:222859_1
            retData.setPicSingleSetDataEntryList(queryStaWorkSumConDetailRespDto_1.getPicSingleSetDataEntryList());//sourceId:127372_1
        }


        return retData;
    }

    /**
     * B3-查询已发布周期阶段资料详情(边界)[2531]
     * gen by moon at 9/29/2024, 3:40:51 PM
     */
    @Trace(operationName = "B3-查询已发布周期阶段资料详情(边界)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffQueryReleaseCycleStageDataDetailBorderRespDto queryReleaseCycleStageDataDetailBorder(BffQueryReleaseCycleStageDataDetailBorderReqDto reqDto) {


        QueryReportingTaskInfoDetailComRespDto queryReportingTaskInfoDetailComRespDto_1 = null;
        QueryEvaStandardDataDetailComRespDto queryEvaStandardDataDetailComRespDto_1 = null;
//步骤0: D3-查询汇报任务资料详情(公共) - queryReportingTaskInfoDetailCom
        QueryReportingTaskInfoDetailComRespDto queryReportingTaskInfoDetailComRespDto = null;
        QueryReportingTaskInfoDetailComReqDto queryReportingTaskInfoDetailComReqDto = new QueryReportingTaskInfoDetailComReqDto();
        queryReportingTaskInfoDetailComReqDto.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:540100_1
        if (reqDto != null) {
            queryReportingTaskInfoDetailComReqDto.setCycleStageDataId(reqDto.getCycleStageDataId());//SimpleFieldAssign//sourceId:88503_1
        }

        /*D3-查询汇报任务资料详情(公共)[2784]   */
        Assert.isNull(queryReportingTaskInfoDetailComReqDto.getCycleStageDataId(), "B3-查询已发布周期阶段资料详情(边界)-D3-查询汇报任务资料详情(公共)-周期阶段资料记录ID不能为空", false);
        Assert.isNull(queryReportingTaskInfoDetailComReqDto.getSubjectLifeCycle(), "B3-查询已发布周期阶段资料详情(边界)-D3-查询汇报任务资料详情(公共)-主体生命周期不能为空", false);
        queryReportingTaskInfoDetailComRespDto = fwAppTaskClient.queryReportingTaskInfoDetailCom(queryReportingTaskInfoDetailComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        queryReportingTaskInfoDetailComRespDto_1 = queryReportingTaskInfoDetailComRespDto;

//步骤1: D4-1查询评价模板标准数据详情(公共) - queryEvaStandardDataDetailCom
        QueryEvaStandardDataDetailComRespDto queryEvaStandardDataDetailComRespDto = null;
        if (queryReportingTaskInfoDetailComRespDto != null) {
            QueryEvaStandardDataDetailComReqDto queryEvaStandardDataDetailComReqDto = new QueryEvaStandardDataDetailComReqDto();
            queryEvaStandardDataDetailComReqDto.setDataUsageSceneCode("TARGET_PLAN_CALC_DATA_STATISTICS");//sourceId:1077354_1
            queryEvaStandardDataDetailComReqDto.setIsNewData("TRUE");//sourceId:600269_1
            queryEvaStandardDataDetailComReqDto.setExtendedField3("EVA_OBJECT");//CUSTOM_CONVENTION//sourceId:2012102_1
            queryEvaStandardDataDetailComReqDto.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:597891_1
            if (queryReportingTaskInfoDetailComRespDto != null) {
                queryEvaStandardDataDetailComReqDto.setEntityId(queryReportingTaskInfoDetailComRespDto.getCycleDataObjId());//SimpleFieldAssign//sourceId:597887_1
                queryEvaStandardDataDetailComReqDto.setPeriodId(queryReportingTaskInfoDetailComRespDto.getCycleId());//SimpleFieldAssign//sourceId:597888_1
            }

            /*D4-1查询评价模板标准数据详情(公共)[3141]   */
            Assert.isNull(queryEvaStandardDataDetailComReqDto.getEntityId(), "B3-查询已发布周期阶段资料详情(边界)-D4-1查询评价模板标准数据详情(公共)-归属内容表主键ID不能为空", false);
            Assert.isNull(queryEvaStandardDataDetailComReqDto.getPeriodId(), "B3-查询已发布周期阶段资料详情(边界)-D4-1查询评价模板标准数据详情(公共)-周期ID不能为空", false);
            Assert.isNull(queryEvaStandardDataDetailComReqDto.getDataUsageSceneCode(), "B3-查询已发布周期阶段资料详情(边界)-D4-1查询评价模板标准数据详情(公共)-数据业务场景不能为空", false);
            Assert.isNull(queryEvaStandardDataDetailComReqDto.getIsNewData(), "B3-查询已发布周期阶段资料详情(边界)-D4-1查询评价模板标准数据详情(公共)-是否归属周期最新数据不能为空", false);
            Assert.isNull(queryEvaStandardDataDetailComReqDto.getExtendedField3(), "B3-查询已发布周期阶段资料详情(边界)-D4-1查询评价模板标准数据详情(公共)-扩展字段3不能为空", false);
            Assert.isNull(queryEvaStandardDataDetailComReqDto.getSubjectLifeCycle(), "B3-查询已发布周期阶段资料详情(边界)-D4-1查询评价模板标准数据详情(公共)-主体生命周期不能为空", false);
            queryEvaStandardDataDetailComRespDto = fwCalcStandardDataClient.queryEvaStandardDataDetailCom(queryEvaStandardDataDetailComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


            queryEvaStandardDataDetailComRespDto_1 = queryEvaStandardDataDetailComRespDto;
        }

        BffQueryReleaseCycleStageDataDetailBorderRespDto retData = new BffQueryReleaseCycleStageDataDetailBorderRespDto();
        if (queryReportingTaskInfoDetailComRespDto_1 != null) {
            retData.setCycleStageDataId(queryReportingTaskInfoDetailComRespDto_1.getCycleStageDataId());//SimpleFieldAssign//sourceId:88529_1
            retData.setHypertextContent(queryReportingTaskInfoDetailComRespDto_1.getHypertextContent());//SimpleFieldAssign//sourceId:222834_1
            retData.setPicSingleSetDataEntryList(queryReportingTaskInfoDetailComRespDto_1.getPicSingleSetDataEntryList());//list-field-assign//sourceId:88633_1
            retData.setBusAppDocRelaList(queryReportingTaskInfoDetailComRespDto_1.getBusAppDocRelaList().stream().map(item -> BeanUtil.toBean(item, BffBusAppDocRelaDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:1823354_1
        }
        if (queryEvaStandardDataDetailComRespDto_1 != null) {
            retData.setActualValue(queryEvaStandardDataDetailComRespDto_1.getActualValue());//SimpleFieldAssign//sourceId:735366_1
            retData.setActualValueUnit(queryEvaStandardDataDetailComRespDto_1.getActualValueUnit());//SimpleFieldAssign//sourceId:735367_1
            retData.setFromLastTargetLiftRatio(queryEvaStandardDataDetailComRespDto_1.getFromLastTargetLiftRatio());//SimpleFieldAssign//sourceId:1225786_1
            retData.setFromLastTargetLiftRatioUnit(queryEvaStandardDataDetailComRespDto_1.getFromLastTargetLiftRatioUnit());//SimpleFieldAssign//sourceId:1225787_1
            retData.setProgressValue(queryEvaStandardDataDetailComRespDto_1.getProgressValue());//SimpleFieldAssign//sourceId:735368_1
            retData.setProgressValueUnit(queryEvaStandardDataDetailComRespDto_1.getProgressValueUnit());//SimpleFieldAssign//sourceId:735369_1
            retData.setProgressFromLastRatio(queryEvaStandardDataDetailComRespDto_1.getProgressFromLastRatio());//SimpleFieldAssign//sourceId:735370_1
            retData.setProgressFromLastRatioUnit(queryEvaStandardDataDetailComRespDto_1.getProgressFromLastRatioUnit());//SimpleFieldAssign//sourceId:735371_1
            retData.setReach(queryEvaStandardDataDetailComRespDto_1.getReach());//SimpleFieldAssign//sourceId:735372_1
            retData.setReachUnit(queryEvaStandardDataDetailComRespDto_1.getReachUnit());//SimpleFieldAssign//sourceId:735373_1
            retData.setActualFromLastTimeRatio(queryEvaStandardDataDetailComRespDto_1.getActualFromLastTimeRatio());//SimpleFieldAssign//sourceId:735374_1
            retData.setActualFromLastTimeRatioUnit(queryEvaStandardDataDetailComRespDto_1.getActualFromLastTimeRatioUnit());//SimpleFieldAssign//sourceId:735375_1
            retData.setReportScore(queryEvaStandardDataDetailComRespDto_1.getReportScore());//SimpleFieldAssign//sourceId:859249_1
            retData.setReportScoreUnit(queryEvaStandardDataDetailComRespDto_1.getReportScoreUnit());//SimpleFieldAssign//sourceId:735377_1
            retData.setFromLastRatioReportScore(queryEvaStandardDataDetailComRespDto_1.getFromLastRatioReportScore());//SimpleFieldAssign//sourceId:1225788_1
            retData.setFromLastRatioReportScoreUnit(queryEvaStandardDataDetailComRespDto_1.getFromLastRatioReportScoreUnit());//SimpleFieldAssign//sourceId:1225825_1
            retData.setRealTimeScoreLevel(queryEvaStandardDataDetailComRespDto_1.getRealTimeScoreLevel());//SimpleFieldAssign//sourceId:859251_1
        }


        return retData;
    }

    /**
     * B3-查询已发布汇报任务问题列表(边界)[2674]
     * gen by moon at 10/21/2023, 8:09:14 PM
     */
    @Trace(operationName = "B3-查询已发布汇报任务问题列表(边界)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffQueryReleaseQuestionOfReportingTaskListBorderRespDto queryReleaseQuestionOfReportingTaskListBorder(BffQueryReleaseQuestionOfReportingTaskListBorderReqDto reqDto) {


        QueryCycleStageDataListRespDto queryCycleStageDataListRespDto_1 = null;
        BatchQueryInductionRecordListComRespDto batchQueryInductionRecordListComRespDto_1 = null;
//步骤0: D3-查询周期阶段资料列表 - queryCycleStageDataList
        QueryCycleStageDataListRespDto queryCycleStageDataListRespDto = null;
        QueryCycleStageDataListReqDto queryCycleStageDataListReqDto = new QueryCycleStageDataListReqDto();
        queryCycleStageDataListReqDto.setCycleDataObjTypeCode("EVA_OBJ_TARGET_CYCLE");//sourceId:88186_1
        queryCycleStageDataListReqDto.setCyclePurposeTypeCode("OBS_TAR_REP");//sourceId:88185_1
        queryCycleStageDataListReqDto.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:102480_1
        if (reqDto != null) {
            queryCycleStageDataListReqDto.setStageContentType(reqDto.getStageContentType());//SimpleFieldAssign//sourceId:89271_1
            queryCycleStageDataListReqDto.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:441154_1
            queryCycleStageDataListReqDto.setCycleDataObjId(reqDto.getCycleDataObjId());//SimpleFieldAssign//sourceId:88187_1
            queryCycleStageDataListReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:540108_1
        }

        /*D3-查询周期阶段资料列表[2675]   */
        Assert.isNull(queryCycleStageDataListReqDto.getStageContentType(), "B3-查询已发布汇报任务问题列表(边界)-D3-查询周期阶段资料列表-内容性质类型编码不能为空", false);
        Assert.isNull(queryCycleStageDataListReqDto.getCycleId(), "B3-查询已发布汇报任务问题列表(边界)-D3-查询周期阶段资料列表-周期ID不能为空", false);
        Assert.isNull(queryCycleStageDataListReqDto.getCycleDataObjId(), "B3-查询已发布汇报任务问题列表(边界)-D3-查询周期阶段资料列表-周期资料归属对象ID不能为空", false);
        Assert.isNull(queryCycleStageDataListReqDto.getCycleDataObjTypeCode(), "B3-查询已发布汇报任务问题列表(边界)-D3-查询周期阶段资料列表-周期资料归属对象类型编码不能为空", false);
        Assert.isNull(queryCycleStageDataListReqDto.getCyclePurposeTypeCode(), "B3-查询已发布汇报任务问题列表(边界)-D3-查询周期阶段资料列表-周期资料用途类型编码不能为空", false);
        Assert.isNull(queryCycleStageDataListReqDto.getSubjectLifeCycle(), "B3-查询已发布汇报任务问题列表(边界)-D3-查询周期阶段资料列表-主体生命周期不能为空", false);
        Assert.isNull(queryCycleStageDataListReqDto.getEvaluationTemplateId(), "B3-查询已发布汇报任务问题列表(边界)-D3-查询周期阶段资料列表-评价模板ID不能为空", false);
        queryCycleStageDataListRespDto = fwAppCycleStageDataClient.queryCycleStageDataList(queryCycleStageDataListReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        queryCycleStageDataListRespDto_1 = queryCycleStageDataListRespDto;

//步骤1: D1-3批量查询就职记录列表（公共） - batchQueryInductionRecordListCom
        BatchQueryInductionRecordListComRespDto batchQueryInductionRecordListComRespDto = null;
        if (queryCycleStageDataListRespDto != null) {
            BatchQueryInductionRecordListComReqDto batchQueryInductionRecordListComReqDto = new BatchQueryInductionRecordListComReqDto();
            if (queryCycleStageDataListRespDto != null && queryCycleStageDataListRespDto.getCycleStageDataList() != null && !CollectionUtil.isEmpty(queryCycleStageDataListRespDto.getCycleStageDataList())) {
                batchQueryInductionRecordListComReqDto.setPerOrgInductionRecordList(queryCycleStageDataListRespDto.getCycleStageDataList().stream().map(item -> item.getCreateInductionId())
                        .collect(Collectors.toList()));/*list-to-strings*///sourceId:83645_1
            }

            /*D1-3批量查询就职记录列表（公共）[602]   */

            batchQueryInductionRecordListComRespDto = fwBaseInductionRecordClient.batchQueryInductionRecordListCom(batchQueryInductionRecordListComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


            batchQueryInductionRecordListComRespDto_1 = batchQueryInductionRecordListComRespDto;
        }

        BffQueryReleaseQuestionOfReportingTaskListBorderRespDto retData = new BffQueryReleaseQuestionOfReportingTaskListBorderRespDto();
        //数据集融合  MoreListToOneSource
        if (queryCycleStageDataListRespDto_1 != null && !CollectionUtil.isEmpty(queryCycleStageDataListRespDto_1.getCycleStageDataList())) {
            for (CycleStageDataDto cycleStageDataDto : queryCycleStageDataListRespDto_1.getCycleStageDataList()) {
                BffCycleStageDataDto retElm = new BffCycleStageDataDto();
                if (queryCycleStageDataListRespDto_1 != null) {
                    retElm.setCycleStageDataId(cycleStageDataDto.getCycleStageDataId());//SimpleFieldAssign//sourceId:49975_2
                    retElm.setStageContentType(cycleStageDataDto.getStageContentType());//SimpleFieldAssign//sourceId:49976_2
                    retElm.setStageData(cycleStageDataDto.getStageData());//SimpleFieldAssign//sourceId:49977_2
                    retElm.setCreateInductionId(cycleStageDataDto.getCreateInductionId());//SimpleFieldAssign//sourceId:226084_2
                    retElm.setOperateTime(cycleStageDataDto.getOperateTime());//SimpleFieldAssign//sourceId:226178_2
                }
                retData.getCycleStageDataList().add(retElm);
                if (batchQueryInductionRecordListComRespDto_1 != null) {
                    for (PerOrgInductionRecordDto perOrgInductionRecordDto : batchQueryInductionRecordListComRespDto_1.getPerOrgInductionRecordList()) {
                        if (perOrgInductionRecordDto.getInductionRecordId().equals(cycleStageDataDto.getCreateInductionId())) {
                            if (batchQueryInductionRecordListComRespDto_1 != null) {
                                retElm.setIdCardName(perOrgInductionRecordDto.getIdCardName());//SimpleFieldAssign//sourceId:50011_2
                                retElm.setNickName(perOrgInductionRecordDto.getNickName());//SimpleFieldAssign//sourceId:50012_2
                            }
                        }
                    }
                }

            }
        }//sourceId:89274_1


        return retData;
    }

    /**
     * B3-新增汇报任务问题[2680]
     * gen by moon at 6/9/2024, 1:22:54 AM
     */
    @Trace(operationName = "B3-新增汇报任务问题")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffAddQuestionOfReportingTaskRespDto addQuestionOfReportingTask(BffAddQuestionOfReportingTaskReqDto reqDto) {


        AddCycleStageDataRespDto addCycleStageDataRespDto_1 = null;
//virtualUsage D3-提交我汇报的任务问题权限校验(公共)  37175
        TempStorageTaskReportPermissionVerificationComRespDto tempStorageTaskReportPermissionVerificationComRespDto = null;
        TempStorageTaskReportPermissionVerificationComReqDto tempStorageTaskReportPermissionVerificationComReqDto = new TempStorageTaskReportPermissionVerificationComReqDto();
        if (reqDto != null) {
            tempStorageTaskReportPermissionVerificationComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:836594_1_37175
        }

        /*D3-提交我汇报的任务问题权限校验(公共)[6302]   */
        Assert.isNull(tempStorageTaskReportPermissionVerificationComReqDto.getEvaluationTemplateId(), "B3-新增汇报任务问题-D3-提交我汇报的任务问题权限校验(公共)-冗余评价模板ID不能为空", false);
        tempStorageTaskReportPermissionVerificationComRespDto = fwAppTaskClient.tempStorageTaskReportPermissionVerificationCom(tempStorageTaskReportPermissionVerificationComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


//virtualUsage D3-新增周期阶段资料（问题总结等）  37176
        AddCycleStageDataRespDto addCycleStageDataRespDto = null;
        AddCycleStageDataReqDto addCycleStageDataReqDto = new AddCycleStageDataReqDto();
        if (reqDto != null) {
            addCycleStageDataReqDto.setStageData(reqDto.getStageData());//SimpleFieldAssign//sourceId:82905_1_37176
            addCycleStageDataReqDto.setStageContentType(reqDto.getStageContentType());//SimpleFieldAssign//sourceId:82904_1_37176
            addCycleStageDataReqDto.setReferenceMessageId(reqDto.getReferenceMessageId());//SimpleFieldAssign//sourceId:1438948_1_37176
            addCycleStageDataReqDto.setWhetherCreateQuestion(reqDto.getWhetherCreateQuestion());//SimpleFieldAssign//sourceId:1437785_1_37176
            addCycleStageDataReqDto.setQuestionLevel(reqDto.getQuestionLevel());//SimpleFieldAssign//sourceId:1437839_1_37176
            addCycleStageDataReqDto.setTaskId(reqDto.getTaskId());//SimpleFieldAssign//sourceId:1494107_1_37176
            addCycleStageDataReqDto.setCycleDataObjId(reqDto.getCycleDataObjId());//SimpleFieldAssign//sourceId:82907_1_37176
            addCycleStageDataReqDto.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:436672_1_37176
            addCycleStageDataReqDto.setCycleStandardName(reqDto.getCycleStandardName());//SimpleFieldAssign//sourceId:436673_1_37176
            addCycleStageDataReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1471117_1_37176
            addCycleStageDataReqDto.setSendMsgScene(reqDto.getSendMsgScene());//SimpleFieldAssign//sourceId:1467696_1_37176
        }
        if (reqDto != null && reqDto.getBusAppDocRelaList() != null && !CollectionUtil.isEmpty(reqDto.getBusAppDocRelaList())) {
            addCycleStageDataReqDto.setBusAppDocRelaList(reqDto.getBusAppDocRelaList().stream().map(item -> BeanUtil.toBean(item, BusAppDocRelaDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:1438379_1_37176
        }

        /*D3-新增周期阶段资料（问题总结等）[2679]   */
        Assert.isNull(addCycleStageDataReqDto.getStageData(), "B3-新增汇报任务问题-D3-新增周期阶段资料（问题总结等）-阶段资料具体内容不能为空", false);
        Assert.isNull(addCycleStageDataReqDto.getStageContentType(), "B3-新增汇报任务问题-D3-新增周期阶段资料（问题总结等）-内容性质类型编码不能为空", false);
        Assert.isNull(addCycleStageDataReqDto.getWhetherCreateQuestion(), "B3-新增汇报任务问题-D3-新增周期阶段资料（问题总结等）-是否创建问题工单不能为空", false);
        Assert.isNull(addCycleStageDataReqDto.getQuestionLevel(), "B3-新增汇报任务问题-D3-新增周期阶段资料（问题总结等）-问题等级不能为空", false);
        Assert.isNull(addCycleStageDataReqDto.getTaskId(), "B3-新增汇报任务问题-D3-新增周期阶段资料（问题总结等）-任务ID不能为空", false);
        Assert.isNull(addCycleStageDataReqDto.getCycleDataObjId(), "B3-新增汇报任务问题-D3-新增周期阶段资料（问题总结等）-周期资料归属对象ID不能为空", false);
        Assert.isNull(addCycleStageDataReqDto.getCycleId(), "B3-新增汇报任务问题-D3-新增周期阶段资料（问题总结等）-周期ID不能为空", false);
        Assert.isNull(addCycleStageDataReqDto.getEvaluationTemplateId(), "B3-新增汇报任务问题-D3-新增周期阶段资料（问题总结等）-冗余评价模板ID不能为空", false);
        Assert.isNull(addCycleStageDataReqDto.getSendMsgScene(), "B3-新增汇报任务问题-D3-新增周期阶段资料（问题总结等）-发送消息场景不能为空", false);
        addCycleStageDataRespDto = fwAppCycleStageDataClient.addCycleStageData(addCycleStageDataReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        addCycleStageDataRespDto_1 = addCycleStageDataRespDto;
        BffAddQuestionOfReportingTaskRespDto retData = new BffAddQuestionOfReportingTaskRespDto();
        if (addCycleStageDataRespDto_1 != null) {
            retData.setCycleStageDataId(addCycleStageDataRespDto_1.getCycleStageDataId());//SimpleFieldAssign//sourceId:84064_1
        }


        return retData;
    }

    /**
     * B3-查询未提交汇报任务问题详情[2898]
     * gen by moon at 11/18/2022, 3:39:39 PM
     */
    @Trace(operationName = "B3-查询未提交汇报任务问题详情")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffQueryNotSubmitQuestionOfReportingTaskDetailRespDto queryNotSubmitQuestionOfReportingTaskDetail(BffQueryNotSubmitQuestionOfReportingTaskDetailReqDto reqDto) {


        QueryQuestionOfReportingTaskDetailRespDto queryQuestionOfReportingTaskDetailRespDto_1 = null;
//步骤0: D3-查询未发布的汇报问题详情 - queryQuestionOfReportingTaskDetail
        QueryQuestionOfReportingTaskDetailRespDto queryQuestionOfReportingTaskDetailRespDto = null;
        QueryQuestionOfReportingTaskDetailReqDto queryQuestionOfReportingTaskDetailReqDto = new QueryQuestionOfReportingTaskDetailReqDto();
        if (reqDto != null) {
            queryQuestionOfReportingTaskDetailReqDto.setCycleDataObjId(reqDto.getCycleDataObjId());//SimpleFieldAssign//sourceId:93040_1
            queryQuestionOfReportingTaskDetailReqDto.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:441148_1
        }

        /*D3-查询未发布的汇报问题详情[2897]   */
        Assert.isNull(queryQuestionOfReportingTaskDetailReqDto.getCycleDataObjId(), "B3-查询未提交汇报任务问题详情-D3-查询未发布的汇报问题详情-周期资料归属对象ID不能为空", false);
        Assert.isNull(queryQuestionOfReportingTaskDetailReqDto.getCycleId(), "B3-查询未提交汇报任务问题详情-D3-查询未发布的汇报问题详情-周期ID不能为空", false);
        queryQuestionOfReportingTaskDetailRespDto = fwAppCycleStageDataClient.queryQuestionOfReportingTaskDetail(queryQuestionOfReportingTaskDetailReqDto).getData();


        queryQuestionOfReportingTaskDetailRespDto_1 = queryQuestionOfReportingTaskDetailRespDto;

        BffQueryNotSubmitQuestionOfReportingTaskDetailRespDto retData = new BffQueryNotSubmitQuestionOfReportingTaskDetailRespDto();
        if (queryQuestionOfReportingTaskDetailRespDto_1 != null) {
            retData.setSumOfPro(queryQuestionOfReportingTaskDetailRespDto_1.getSumOfPro());//SimpleFieldAssign//sourceId:93046_1
            retData.setSolvingIdeas(queryQuestionOfReportingTaskDetailRespDto_1.getSolvingIdeas());//SimpleFieldAssign//sourceId:93047_1
        }


        return retData;
    }

    /**
     * B3-查询已提交汇报资料详情[3065]
     * gen by moon at 9/29/2024, 3:41:01 PM
     */
    @Trace(operationName = "B3-查询已提交汇报资料详情")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffQuerySubmitTaskInfoDetailRespDto querySubmitTaskInfoDetail(BffQuerySubmitTaskInfoDetailReqDto reqDto) {


        QueryReportingTaskInfoDetailComRespDto queryReportingTaskInfoDetailComRespDto_1 = null;
        QueryEvaStandardDataDetailComRespDto queryEvaStandardDataDetailComRespDto_1 = null;
        com.wicket.okrapp.integration.dto.QuerySubmitFinanceStandardDataDetailComRespDto querySubmitFinanceStandardDataDetailComRespDto_1 = null;
        ImplementSucReportTaskElementAnalyzeComRespDto implementSucReportTaskElementAnalyzeComRespDto_1 = null;
        ImplementReportDataQualityOperationElementComRespDto implementReportDataQualityOperationElementComRespDto_1 = null;
//步骤0: D3-查询汇报任务资料详情(公共) - queryReportingTaskInfoDetailCom
        QueryReportingTaskInfoDetailComRespDto queryReportingTaskInfoDetailComRespDto = null;
        QueryReportingTaskInfoDetailComReqDto queryReportingTaskInfoDetailComReqDto = new QueryReportingTaskInfoDetailComReqDto();
        if (reqDto != null) {
            queryReportingTaskInfoDetailComReqDto.setCycleStageDataId(reqDto.getCycleStageDataId());//SimpleFieldAssign//sourceId:102494_1
        }

        /*D3-查询汇报任务资料详情(公共)[2784]   */
        Assert.isNull(queryReportingTaskInfoDetailComReqDto.getCycleStageDataId(), "B3-查询已提交汇报资料详情-D3-查询汇报任务资料详情(公共)-周期阶段资料记录ID不能为空", false);
        queryReportingTaskInfoDetailComRespDto = fwAppTaskClient.queryReportingTaskInfoDetailCom(queryReportingTaskInfoDetailComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        queryReportingTaskInfoDetailComRespDto_1 = queryReportingTaskInfoDetailComRespDto;

//步骤1: D4-1查询评价模板标准数据详情(公共) - queryEvaStandardDataDetailCom
        QueryEvaStandardDataDetailComRespDto queryEvaStandardDataDetailComRespDto = null;
        if (queryReportingTaskInfoDetailComRespDto != null) {
            QueryEvaStandardDataDetailComReqDto queryEvaStandardDataDetailComReqDto = new QueryEvaStandardDataDetailComReqDto();
            queryEvaStandardDataDetailComReqDto.setDataUsageSceneCode("TARGET_PLAN_CALC_DATA_STATISTICS");//sourceId:1077355_1
            queryEvaStandardDataDetailComReqDto.setExtendedField3("EVA_OBJECT");//CUSTOM_CONVENTION//sourceId:2012107_1
            queryEvaStandardDataDetailComReqDto.setIsNewData("TRUE");//sourceId:600310_1
            queryEvaStandardDataDetailComReqDto.setIsArchive("FALSE");//sourceId:732797_1
            if (queryReportingTaskInfoDetailComRespDto != null) {
                queryEvaStandardDataDetailComReqDto.setEntityId(queryReportingTaskInfoDetailComRespDto.getCycleDataObjId());//SimpleFieldAssign//sourceId:600303_1
                queryEvaStandardDataDetailComReqDto.setPeriodId(queryReportingTaskInfoDetailComRespDto.getCycleId());//SimpleFieldAssign//sourceId:600304_1
            }

            /*D4-1查询评价模板标准数据详情(公共)[3141]   */
            Assert.isNull(queryEvaStandardDataDetailComReqDto.getEntityId(), "B3-查询已提交汇报资料详情-D4-1查询评价模板标准数据详情(公共)-归属内容表主键ID不能为空", false);
            Assert.isNull(queryEvaStandardDataDetailComReqDto.getPeriodId(), "B3-查询已提交汇报资料详情-D4-1查询评价模板标准数据详情(公共)-周期ID不能为空", false);
            Assert.isNull(queryEvaStandardDataDetailComReqDto.getDataUsageSceneCode(), "B3-查询已提交汇报资料详情-D4-1查询评价模板标准数据详情(公共)-数据业务场景不能为空", false);
            Assert.isNull(queryEvaStandardDataDetailComReqDto.getExtendedField3(), "B3-查询已提交汇报资料详情-D4-1查询评价模板标准数据详情(公共)-扩展字段3不能为空", false);
            Assert.isNull(queryEvaStandardDataDetailComReqDto.getIsNewData(), "B3-查询已提交汇报资料详情-D4-1查询评价模板标准数据详情(公共)-是否归属周期最新数据不能为空", false);
            Assert.isNull(queryEvaStandardDataDetailComReqDto.getIsArchive(), "B3-查询已提交汇报资料详情-D4-1查询评价模板标准数据详情(公共)-是否存档不能为空", false);
            queryEvaStandardDataDetailComRespDto = fwCalcStandardDataClient.queryEvaStandardDataDetailCom(queryEvaStandardDataDetailComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


            queryEvaStandardDataDetailComRespDto_1 = queryEvaStandardDataDetailComRespDto;
        }

//步骤2: D3查询已提交的财务标准数据详情(公共) - querySubmitFinanceStandardDataDetailCom
        com.wicket.okrapp.integration.dto.QuerySubmitFinanceStandardDataDetailComRespDto querySubmitFinanceStandardDataDetailComRespDto = null;
        if (queryReportingTaskInfoDetailComRespDto != null) {
            com.wicket.okrapp.integration.dto.QuerySubmitFinanceStandardDataDetailComReqDto querySubmitFinanceStandardDataDetailComReqDto = new com.wicket.okrapp.integration.dto.QuerySubmitFinanceStandardDataDetailComReqDto();
            if (queryReportingTaskInfoDetailComRespDto != null) {
                querySubmitFinanceStandardDataDetailComReqDto.setUpdateCycleId(queryReportingTaskInfoDetailComRespDto.getCycleId());//SimpleFieldAssign//sourceId:1923417_1
                querySubmitFinanceStandardDataDetailComReqDto.setEntityId(queryReportingTaskInfoDetailComRespDto.getCycleDataObjId());//SimpleFieldAssign//sourceId:1922956_1
                querySubmitFinanceStandardDataDetailComReqDto.setThemeContentId(queryReportingTaskInfoDetailComRespDto.getThemeContentId());//SimpleFieldAssign//sourceId:1922957_1
            }

            /*D3查询已提交的财务标准数据详情(公共)[9933]   */
            Assert.isNull(querySubmitFinanceStandardDataDetailComReqDto.getUpdateCycleId(), "B3-查询已提交汇报资料详情-D3查询已提交的财务标准数据详情(公共)-更新周期ID不能为空", false);
            Assert.isNull(querySubmitFinanceStandardDataDetailComReqDto.getEntityId(), "B3-查询已提交汇报资料详情-D3查询已提交的财务标准数据详情(公共)-归属内容表主键ID不能为空", false);
            Assert.isNull(querySubmitFinanceStandardDataDetailComReqDto.getThemeContentId(), "B3-查询已提交汇报资料详情-D3查询已提交的财务标准数据详情(公共)-主题内容ID不能为空", false);
            querySubmitFinanceStandardDataDetailComRespDto = fwAppStandardDataClient.querySubmitFinanceStandardDataDetailCom(querySubmitFinanceStandardDataDetailComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


            querySubmitFinanceStandardDataDetailComRespDto_1 = querySubmitFinanceStandardDataDetailComRespDto;
        }

//步骤3: D3执行已成功汇报任务元素分析(公共) - implementSucReportTaskElementAnalyzeCom
        ImplementSucReportTaskElementAnalyzeComRespDto implementSucReportTaskElementAnalyzeComRespDto = null;
        if (queryReportingTaskInfoDetailComRespDto != null) {
            ImplementSucReportTaskElementAnalyzeComReqDto implementSucReportTaskElementAnalyzeComReqDto = new ImplementSucReportTaskElementAnalyzeComReqDto();
            if (queryReportingTaskInfoDetailComRespDto != null) {
                implementSucReportTaskElementAnalyzeComReqDto.setBelongToContentId(queryReportingTaskInfoDetailComRespDto.getTargetCycleContentId());//SimpleFieldAssign//sourceId:1929971_1
                implementSucReportTaskElementAnalyzeComReqDto.setEntityId(queryReportingTaskInfoDetailComRespDto.getCycleDataObjId());//SimpleFieldAssign//sourceId:1929972_1
                implementSucReportTaskElementAnalyzeComReqDto.setCycleId(queryReportingTaskInfoDetailComRespDto.getCycleId());//SimpleFieldAssign//sourceId:1929973_1
                implementSucReportTaskElementAnalyzeComReqDto.setCycleTypeCode(queryReportingTaskInfoDetailComRespDto.getCycleTypeCode());//SimpleFieldAssign//sourceId:1929974_1
                implementSucReportTaskElementAnalyzeComReqDto.setEvaluationTemplateId(queryReportingTaskInfoDetailComRespDto.getThemeContentId());//SimpleFieldAssign//sourceId:1929970_1
            }

            /*D3执行已成功汇报任务元素分析(公共)[9952]   */
            Assert.isNull(implementSucReportTaskElementAnalyzeComReqDto.getBelongToContentId(), "B3-查询已提交汇报资料详情-D3执行已成功汇报任务元素分析(公共)-数据归属内容表主键ID不能为空", false);
            Assert.isNull(implementSucReportTaskElementAnalyzeComReqDto.getEntityId(), "B3-查询已提交汇报资料详情-D3执行已成功汇报任务元素分析(公共)-归属内容表主键ID不能为空", false);
            Assert.isNull(implementSucReportTaskElementAnalyzeComReqDto.getCycleId(), "B3-查询已提交汇报资料详情-D3执行已成功汇报任务元素分析(公共)-归属周期ID不能为空", false);
            Assert.isNull(implementSucReportTaskElementAnalyzeComReqDto.getCycleTypeCode(), "B3-查询已提交汇报资料详情-D3执行已成功汇报任务元素分析(公共)-周期类型标识不能为空", false);
            Assert.isNull(implementSucReportTaskElementAnalyzeComReqDto.getEvaluationTemplateId(), "B3-查询已提交汇报资料详情-D3执行已成功汇报任务元素分析(公共)-冗余评价模板ID不能为空", false);
            implementSucReportTaskElementAnalyzeComRespDto = fwAppEvaCalcClient.implementSucReportTaskElementAnalyzeCom(implementSucReportTaskElementAnalyzeComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


            implementSucReportTaskElementAnalyzeComRespDto_1 = implementSucReportTaskElementAnalyzeComRespDto;
        }

//步骤4: D3执行汇报数据质检操作元素(公共) - implementReportDataQualityOperationElementCom
        ImplementReportDataQualityOperationElementComRespDto implementReportDataQualityOperationElementComRespDto = null;
        if (implementSucReportTaskElementAnalyzeComRespDto != null) {
            ImplementReportDataQualityOperationElementComReqDto implementReportDataQualityOperationElementComReqDto = new ImplementReportDataQualityOperationElementComReqDto();
            if (implementSucReportTaskElementAnalyzeComRespDto != null) {
                implementReportDataQualityOperationElementComReqDto.setTargetCycleContentTypeCode(implementSucReportTaskElementAnalyzeComRespDto.getTargetCycleContentTypeCode());//SimpleFieldAssign//sourceId:1929994_1
                implementReportDataQualityOperationElementComReqDto.setTargetCycleContentId(implementSucReportTaskElementAnalyzeComRespDto.getBelongToContentId());//SimpleFieldAssign//sourceId:1929995_1
                implementReportDataQualityOperationElementComReqDto.setIsLastObjective(implementSucReportTaskElementAnalyzeComRespDto.getIsLastObjective());//SimpleFieldAssign//sourceId:1929988_1
                implementReportDataQualityOperationElementComReqDto.setTargetValueType(implementSucReportTaskElementAnalyzeComRespDto.getTargetValueType());//SimpleFieldAssign//sourceId:1929989_1
                implementReportDataQualityOperationElementComReqDto.setProgressValueElement(implementSucReportTaskElementAnalyzeComRespDto.getProgressValueElement());//SimpleFieldAssign//sourceId:1929984_1
                implementReportDataQualityOperationElementComReqDto.setActualValueElement(implementSucReportTaskElementAnalyzeComRespDto.getActualValueElement());//SimpleFieldAssign//sourceId:1929985_1
                implementReportDataQualityOperationElementComReqDto.setBudgetAmountElement(implementSucReportTaskElementAnalyzeComRespDto.getBudgetAmountElement());//SimpleFieldAssign//sourceId:1929986_1
            }
            if (queryReportingTaskInfoDetailComRespDto != null) {
                implementReportDataQualityOperationElementComReqDto.setEvaluationTemplateId(queryReportingTaskInfoDetailComRespDto.getThemeContentId());//SimpleFieldAssign//sourceId:1929987_1
            }

            /*D3执行汇报数据质检操作元素(公共)[9954]   */
            Assert.isNull(implementReportDataQualityOperationElementComReqDto.getTargetCycleContentTypeCode(), "B3-查询已提交汇报资料详情-D3执行汇报数据质检操作元素(公共)-关联目标内容类型编码不能为空", false);
            Assert.isNull(implementReportDataQualityOperationElementComReqDto.getTargetCycleContentId(), "B3-查询已提交汇报资料详情-D3执行汇报数据质检操作元素(公共)-关联目标内容ID不能为空", false);
            Assert.isNull(implementReportDataQualityOperationElementComReqDto.getProgressValueElement(), "B3-查询已提交汇报资料详情-D3执行汇报数据质检操作元素(公共)-汇报进度值元素不能为空", false);
            Assert.isNull(implementReportDataQualityOperationElementComReqDto.getActualValueElement(), "B3-查询已提交汇报资料详情-D3执行汇报数据质检操作元素(公共)-汇报实际值元素不能为空", false);
            Assert.isNull(implementReportDataQualityOperationElementComReqDto.getBudgetAmountElement(), "B3-查询已提交汇报资料详情-D3执行汇报数据质检操作元素(公共)-汇报预算元素不能为空", false);
            Assert.isNull(implementReportDataQualityOperationElementComReqDto.getEvaluationTemplateId(), "B3-查询已提交汇报资料详情-D3执行汇报数据质检操作元素(公共)-冗余评价模板ID不能为空", false);
            implementReportDataQualityOperationElementComRespDto = fwAppEvaCalcClient.implementReportDataQualityOperationElementCom(implementReportDataQualityOperationElementComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


            implementReportDataQualityOperationElementComRespDto_1 = implementReportDataQualityOperationElementComRespDto;
        }

        BffQuerySubmitTaskInfoDetailRespDto retData = new BffQuerySubmitTaskInfoDetailRespDto();
        if (implementReportDataQualityOperationElementComRespDto_1 != null) {
            retData.setIsOpenSymbolicAchievements(implementReportDataQualityOperationElementComRespDto_1.getIsOpenSymbolicAchievements());//SimpleFieldAssign//sourceId:1931007_1
            retData.setProcessIsOpenAchiveDocking(implementReportDataQualityOperationElementComRespDto_1.getProcessIsOpenAchiveDocking());//SimpleFieldAssign//sourceId:1931008_1
            retData.setProgressValueElement(implementReportDataQualityOperationElementComRespDto_1.getProgressValueElement());//SimpleFieldAssign//sourceId:1929997_1
            retData.setActualValueElement(implementReportDataQualityOperationElementComRespDto_1.getActualValueElement());//SimpleFieldAssign//sourceId:1929998_1
            retData.setBudgetAmountElement(implementReportDataQualityOperationElementComRespDto_1.getBudgetAmountElement());//SimpleFieldAssign//sourceId:1929999_1
            retData.setAchievementDockingElement(implementReportDataQualityOperationElementComRespDto_1.getAchievementDockingElement());//SimpleFieldAssign//sourceId:1930000_1
            retData.setIsSymbolicAchievements(implementReportDataQualityOperationElementComRespDto_1.getIsSymbolicAchievements());//SimpleFieldAssign//sourceId:1930001_1
        }
        if (queryReportingTaskInfoDetailComRespDto_1 != null) {
            retData.setCycleStageDataId(queryReportingTaskInfoDetailComRespDto_1.getCycleStageDataId());//SimpleFieldAssign//sourceId:102503_1
            retData.setCycleDataObjId(queryReportingTaskInfoDetailComRespDto_1.getCycleDataObjId());//SimpleFieldAssign//sourceId:1192060_1
            retData.setTargetCycleStandardName(queryReportingTaskInfoDetailComRespDto_1.getTargetCycleStandardName());//SimpleFieldAssign//sourceId:1192061_1
            retData.setShowTargetValue(queryReportingTaskInfoDetailComRespDto_1.getShowTargetValue());//SimpleFieldAssign//sourceId:1192062_1
            retData.setUnit(queryReportingTaskInfoDetailComRespDto_1.getUnit());//SimpleFieldAssign//sourceId:1192063_1
            retData.setTaskName(queryReportingTaskInfoDetailComRespDto_1.getTaskName());//SimpleFieldAssign//sourceId:1192065_1
            retData.setActualEndTime(queryReportingTaskInfoDetailComRespDto_1.getActualEndTime());//SimpleFieldAssign//sourceId:1192066_1
            retData.setHypertextContent(queryReportingTaskInfoDetailComRespDto_1.getHypertextContent());//SimpleFieldAssign//sourceId:222848_1
            retData.setIsActualReceptionCycle(queryReportingTaskInfoDetailComRespDto_1.getIsActualReceptionCycle());//SimpleFieldAssign//sourceId:1929969_1
            retData.setQuestionDataTypeCode(queryReportingTaskInfoDetailComRespDto_1.getQuestionDataTypeCode());//SimpleFieldAssign//sourceId:1930146_1
            retData.setIsHistoryProblemData(queryReportingTaskInfoDetailComRespDto_1.getIsHistoryProblemData());//SimpleFieldAssign//sourceId:1930085_1
            retData.setProblemDataOriginalRoleMemberId(queryReportingTaskInfoDetailComRespDto_1.getProblemDataOriginalRoleMemberId());//SimpleFieldAssign//sourceId:1930084_1
            retData.setRoleCode(queryReportingTaskInfoDetailComRespDto_1.getRoleCode());//SimpleFieldAssign//sourceId:1931002_1
            retData.setPicSingleSetDataEntryList(queryReportingTaskInfoDetailComRespDto_1.getPicSingleSetDataEntryList());//list-field-assign//sourceId:102507_1
        }
        if (queryEvaStandardDataDetailComRespDto_1 != null) {
            retData.setActualValue(queryEvaStandardDataDetailComRespDto_1.getActualValue());//SimpleFieldAssign//sourceId:735335_1
            retData.setActualValueUnit(queryEvaStandardDataDetailComRespDto_1.getActualValueUnit());//SimpleFieldAssign//sourceId:735336_1
            retData.setProgressValue(queryEvaStandardDataDetailComRespDto_1.getProgressValue());//SimpleFieldAssign//sourceId:735337_1
            retData.setFromLastTargetLiftRatio(queryEvaStandardDataDetailComRespDto_1.getFromLastTargetLiftRatio());//SimpleFieldAssign//sourceId:1192069_1
            retData.setFromLastTargetLiftRatioUnit(queryEvaStandardDataDetailComRespDto_1.getFromLastTargetLiftRatioUnit());//SimpleFieldAssign//sourceId:1192070_1
            retData.setProgressValueUnit(queryEvaStandardDataDetailComRespDto_1.getProgressValueUnit());//SimpleFieldAssign//sourceId:735338_1
            retData.setProgressFromLastRatio(queryEvaStandardDataDetailComRespDto_1.getProgressFromLastRatio());//SimpleFieldAssign//sourceId:735339_1
            retData.setProgressFromLastRatioUnit(queryEvaStandardDataDetailComRespDto_1.getProgressFromLastRatioUnit());//SimpleFieldAssign//sourceId:735340_1
            retData.setReportScore(queryEvaStandardDataDetailComRespDto_1.getReportScore());//SimpleFieldAssign//sourceId:735345_1
            retData.setReportScoreUnit(queryEvaStandardDataDetailComRespDto_1.getReportScoreUnit());//SimpleFieldAssign//sourceId:735346_1
            retData.setFromLastRatioReportScore(queryEvaStandardDataDetailComRespDto_1.getFromLastRatioReportScore());//SimpleFieldAssign//sourceId:1933811_1
            retData.setFromLastRatioReportScoreUnit(queryEvaStandardDataDetailComRespDto_1.getFromLastRatioReportScoreUnit());//SimpleFieldAssign//sourceId:1933810_1
            retData.setReach(queryEvaStandardDataDetailComRespDto_1.getReach());//SimpleFieldAssign//sourceId:735341_1
            retData.setReachUnit(queryEvaStandardDataDetailComRespDto_1.getReachUnit());//SimpleFieldAssign//sourceId:735342_1
            retData.setActualFromLastTimeRatio(queryEvaStandardDataDetailComRespDto_1.getActualFromLastTimeRatio());//SimpleFieldAssign//sourceId:735343_1
            retData.setActualFromLastTimeRatioUnit(queryEvaStandardDataDetailComRespDto_1.getActualFromLastTimeRatioUnit());//SimpleFieldAssign//sourceId:735344_1
            retData.setRealTimeScoreLevel(queryEvaStandardDataDetailComRespDto_1.getRealTimeScoreLevel());//SimpleFieldAssign//sourceId:735349_1
            retData.setReportScore(queryEvaStandardDataDetailComRespDto_1.getReportScore());//SimpleFieldAssign//sourceId:735345_1
        }
        if (querySubmitFinanceStandardDataDetailComRespDto_1 != null) {
            retData.setFinanceDataResultId(querySubmitFinanceStandardDataDetailComRespDto_1.getFinanceDataResultId());//SimpleFieldAssign//sourceId:1922966_1
            retData.setBudgetDisburse(querySubmitFinanceStandardDataDetailComRespDto_1.getBudgetDisburse());//SimpleFieldAssign//sourceId:1923435_1
            retData.setBudgetDisburseUnit(querySubmitFinanceStandardDataDetailComRespDto_1.getBudgetDisburseUnit());//SimpleFieldAssign//sourceId:1923436_1
            retData.setParentBudgetDisburse(querySubmitFinanceStandardDataDetailComRespDto_1.getParentBudgetDisburse());//SimpleFieldAssign//sourceId:1923437_1
            retData.setAccountSubjectld(querySubmitFinanceStandardDataDetailComRespDto_1.getAccountSubjectld());//SimpleFieldAssign//sourceId:1922972_1
            retData.setAccountSubjectName(querySubmitFinanceStandardDataDetailComRespDto_1.getAccountSubjectName());//SimpleFieldAssign//sourceId:1922973_1
        }
        if (implementSucReportTaskElementAnalyzeComRespDto_1 != null) {
            retData.setAccountSubjectList(implementSucReportTaskElementAnalyzeComRespDto_1.getAccountSubjectList().stream().map(item -> BeanUtil.toBean(item, BffAccountSubjectDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:1930002_1
            retData.setAccountUnit(implementSucReportTaskElementAnalyzeComRespDto_1.getAccountUnit());//SimpleFieldAssign//sourceId:1930003_1
            retData.setEvaActualCalcCode(implementSucReportTaskElementAnalyzeComRespDto_1.getEvaActualCalcCode());//SimpleFieldAssign//sourceId:1933327_1
        }


        return retData;
    }

    /**
     * B3-查询已提交汇报任务问题列表[3066]
     * gen by moon at 8/17/2023, 3:17:06 PM
     */
    @Trace(operationName = "B3-查询已提交汇报任务问题列表")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffQuerySubmitQuestionOfReportingTaskListRespDto querySubmitQuestionOfReportingTaskList(BffQuerySubmitQuestionOfReportingTaskListReqDto reqDto) {


        QueryCycleStageDataListRespDto queryCycleStageDataListRespDto_1 = null;
        BatchQueryInductionRecordListComRespDto batchQueryInductionRecordListComRespDto_1 = null;
//步骤0: D3-查询周期阶段资料列表 - queryCycleStageDataList
        QueryCycleStageDataListRespDto queryCycleStageDataListRespDto = null;
        QueryCycleStageDataListReqDto queryCycleStageDataListReqDto = new QueryCycleStageDataListReqDto();
        queryCycleStageDataListReqDto.setCycleDataObjTypeCode("EVA_OBJ_TARGET_CYCLE");//sourceId:102509_1
        queryCycleStageDataListReqDto.setCyclePurposeTypeCode("OBS_TAR_REP");//sourceId:102508_1
//queryCycleStageDataListReqDto.setIsArchive("FALSE");//sourceId:1113310_1
        if (reqDto != null) {
            queryCycleStageDataListReqDto.setCycleDataObjId(reqDto.getCycleDataObjId());//SimpleFieldAssign//sourceId:102510_1
            queryCycleStageDataListReqDto.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:441152_1
            queryCycleStageDataListReqDto.setStageContentType(reqDto.getStageContentType());//SimpleFieldAssign//sourceId:102512_1
            queryCycleStageDataListReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:535634_1
        }

        /*D3-查询周期阶段资料列表[2675]   */
        Assert.isNull(queryCycleStageDataListReqDto.getCycleDataObjTypeCode(), "B3-查询已提交汇报任务问题列表-D3-查询周期阶段资料列表-周期资料归属对象类型编码不能为空", false);
        Assert.isNull(queryCycleStageDataListReqDto.getCycleDataObjId(), "B3-查询已提交汇报任务问题列表-D3-查询周期阶段资料列表-周期资料归属对象ID不能为空", false);
        Assert.isNull(queryCycleStageDataListReqDto.getCycleId(), "B3-查询已提交汇报任务问题列表-D3-查询周期阶段资料列表-周期ID不能为空", false);
        Assert.isNull(queryCycleStageDataListReqDto.getStageContentType(), "B3-查询已提交汇报任务问题列表-D3-查询周期阶段资料列表-内容性质类型编码不能为空", false);
        Assert.isNull(queryCycleStageDataListReqDto.getCyclePurposeTypeCode(), "B3-查询已提交汇报任务问题列表-D3-查询周期阶段资料列表-周期资料用途类型编码不能为空", false);
//Assert.isNull(queryCycleStageDataListReqDto.getIsArchive(),"B3-查询已提交汇报任务问题列表-D3-查询周期阶段资料列表-是否存档不能为空",false);
        Assert.isNull(queryCycleStageDataListReqDto.getEvaluationTemplateId(), "B3-查询已提交汇报任务问题列表-D3-查询周期阶段资料列表-评价模板ID不能为空", false);
        queryCycleStageDataListRespDto = fwAppCycleStageDataClient.queryCycleStageDataList(queryCycleStageDataListReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        queryCycleStageDataListRespDto_1 = queryCycleStageDataListRespDto;

//步骤1: D1-3批量查询就职记录列表（公共） - batchQueryInductionRecordListCom
        BatchQueryInductionRecordListComRespDto batchQueryInductionRecordListComRespDto = null;
        if (queryCycleStageDataListRespDto != null) {
            BatchQueryInductionRecordListComReqDto batchQueryInductionRecordListComReqDto = new BatchQueryInductionRecordListComReqDto();
            if (queryCycleStageDataListRespDto != null && queryCycleStageDataListRespDto.getCycleStageDataList() != null && !CollectionUtil.isEmpty(queryCycleStageDataListRespDto.getCycleStageDataList())) {
                batchQueryInductionRecordListComReqDto.setPerOrgInductionRecordList(queryCycleStageDataListRespDto.getCycleStageDataList().stream().map(item -> item.getCreateInductionId())
                        .collect(Collectors.toList()));/*list-to-strings*///sourceId:102514_1
            }

            /*D1-3批量查询就职记录列表（公共）[602]   */

            batchQueryInductionRecordListComRespDto = fwBaseInductionRecordClient.batchQueryInductionRecordListCom(batchQueryInductionRecordListComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


            batchQueryInductionRecordListComRespDto_1 = batchQueryInductionRecordListComRespDto;
        }

        BffQuerySubmitQuestionOfReportingTaskListRespDto retData = new BffQuerySubmitQuestionOfReportingTaskListRespDto();
        //数据集融合  MoreListToOneSource
        if (queryCycleStageDataListRespDto_1 != null && !CollectionUtil.isEmpty(queryCycleStageDataListRespDto_1.getCycleStageDataList())) {
            for (CycleStageDataDto cycleStageDataDto : queryCycleStageDataListRespDto_1.getCycleStageDataList()) {
                BffCycleStageDataDto retElm = new BffCycleStageDataDto();
                if (queryCycleStageDataListRespDto_1 != null) {
                    retElm.setCycleStageDataId(cycleStageDataDto.getCycleStageDataId());//SimpleFieldAssign//sourceId:57077_2
                    retElm.setStageContentType(cycleStageDataDto.getStageContentType());//SimpleFieldAssign//sourceId:57078_2
                    retElm.setStageData(cycleStageDataDto.getStageData());//SimpleFieldAssign//sourceId:57079_2
                    retElm.setCreateInductionId(cycleStageDataDto.getCreateInductionId());//SimpleFieldAssign//sourceId:137706_2
                    retElm.setCreateTime(cycleStageDataDto.getCreateTime());//SimpleFieldAssign//sourceId:137707_2
                    retElm.setRoleName(cycleStageDataDto.getRoleName());//SimpleFieldAssign//sourceId:137710_2
                }
                retData.getCycleStageDataList().add(retElm);
                if (batchQueryInductionRecordListComRespDto_1 != null) {
                    for (PerOrgInductionRecordDto perOrgInductionRecordDto : batchQueryInductionRecordListComRespDto_1.getPerOrgInductionRecordList()) {
                        if (perOrgInductionRecordDto.getInductionRecordId().equals(cycleStageDataDto.getCreateInductionId())) {
                            if (batchQueryInductionRecordListComRespDto_1 != null) {
                                retElm.setNickName(perOrgInductionRecordDto.getNickName());//SimpleFieldAssign//sourceId:57083_2
                                retElm.setUserFace(perOrgInductionRecordDto.getUserFace());//SimpleFieldAssign//sourceId:137663_2
                                retElm.setIdCardName(perOrgInductionRecordDto.getIdCardName());//SimpleFieldAssign//sourceId:57082_2
                            }
                        }
                    }
                }

            }
        }//sourceId:102519_1


        return retData;
    }

    /**
     * B3-新增我汇报的任务问题[3170]
     * gen by moon at 9/24/2022, 4:28:29 AM
     */
    @Trace(operationName = "B3-新增我汇报的任务问题")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffAddQuestionOfTaskReportRespDto addQuestionOfTaskReport(BffAddQuestionOfTaskReportReqDto reqDto) {


        //virtualUsage D3-3查询评价模板批次设置  6119
        QueryPlanEvaBatchSetDetailRespDto queryPlanEvaBatchSetDetailRespDto = null;
        QueryPlanEvaBatchSetDetailReqDto queryPlanEvaBatchSetDetailReqDto = new QueryPlanEvaBatchSetDetailReqDto();
        queryPlanEvaBatchSetDetailReqDto.setBatchSetObjectType("TOP_EVA_TEMP_MGT");//sourceId:115974_1_6119
        if (reqDto != null) {
            queryPlanEvaBatchSetDetailReqDto.setBatchSetId(reqDto.getBatchSetId());//sourceId:115969_1_6119
        }

        /*D3-3查询评价模板批次设置[3005]   */
        Assert.isNull(queryPlanEvaBatchSetDetailReqDto.getBatchSetId(), "B3-新增我汇报的任务问题-D3-3查询评价模板批次设置-批次设置对象ID不能为空", false);
        Assert.isNull(queryPlanEvaBatchSetDetailReqDto.getBatchSetObjectType(), "B3-新增我汇报的任务问题-D3-3查询评价模板批次设置-批次设置对象类型不能为空", false);
        queryPlanEvaBatchSetDetailRespDto = fwAppBatchClient.queryPlanEvaBatchSetDetail(queryPlanEvaBatchSetDetailReqDto).getData();


        if ((queryPlanEvaBatchSetDetailRespDto != null && queryPlanEvaBatchSetDetailRespDto.getUsingLockStatus() != null && queryPlanEvaBatchSetDetailRespDto.getUsingLockStatus().equals("UNLOCK"))) {
            //if(D3-3查询评价模板批次设置.使用锁定状态 等于 未锁定)  6120

            AddCycleStageDataRespDto addCycleStageDataRespDto = null;
            AddCycleStageDataReqDto addCycleStageDataReqDto = new AddCycleStageDataReqDto();
//  addCycleStageDataReqDto.setCyclePurposeTypeCode("OBS_TAR_REP");//sourceId:116001_1_6122
//addCycleStageDataReqDto.setevaluationg("PRINCIPAL");//CUSTOM_CONVENTION//sourceId:126798_1_6122
//addCycleStageDataReqDto.setSubjectLifeCycle("EDITING");//sourceId:116004_1_6122
//addCycleStageDataReqDto.setCycleDataTypeCode("CYC_STA_DAT");//sourceId:116005_1_6122
//addCycleStageDataReqDto.setCycleDataObjTypeCode("EVA_OBJ_TARGET_CYCLE");//sourceId:116006_1_6122
            if (reqDto != null) {
                addCycleStageDataReqDto.setEvaluationTemplateId(reqDto.getBatchSetId());//sourceId:126680_1_6122
                addCycleStageDataReqDto.setStageContentType(reqDto.getStageContentType());//sourceId:115999_1_6122
                addCycleStageDataReqDto.setStageData(reqDto.getStageData());//sourceId:116000_1_6122
                addCycleStageDataReqDto.setCycleDataObjId(reqDto.getCycleDataObjId());//sourceId:126681_1_6122
            }

            /*D3-新增周期阶段资料[2679]   */
            Assert.isNull(addCycleStageDataReqDto.getEvaluationTemplateId(), "B3-新增我汇报的任务问题-D3-新增周期阶段资料-评价模板ID不能为空", false);
            Assert.isNull(addCycleStageDataReqDto.getStageContentType(), "B3-新增我汇报的任务问题-D3-新增周期阶段资料-内容性质类型编码不能为空", false);
            Assert.isNull(addCycleStageDataReqDto.getStageData(), "B3-新增我汇报的任务问题-D3-新增周期阶段资料-阶段资料具体内容不能为空", false);
            Assert.isNull(addCycleStageDataReqDto.getCycleDataObjId(), "B3-新增我汇报的任务问题-D3-新增周期阶段资料-被评对象目标周期ID不能为空", false);
//Assert.isNull(addCycleStageDataReqDto.getCyclePurposeTypeCode(),"B3-新增我汇报的任务问题-D3-新增周期阶段资料-周期资料用途类型编码不能为空",false);
//Assert.isNull(addCycleStageDataReqDto.getRoleCode(),"B3-新增我汇报的任务问题-D3-新增周期阶段资料-普通角色标识不能为空",false);
//Assert.isNull(addCycleStageDataReqDto.getSubjectLifeCycle(),"B3-新增我汇报的任务问题-D3-新增周期阶段资料-主体生命周期不能为空",false);
//Assert.isNull(addCycleStageDataReqDto.getCycleDataTypeCode(),"B3-新增我汇报的任务问题-D3-新增周期阶段资料-周期阶段资料类型编码不能为空",false);
//Assert.isNull(addCycleStageDataReqDto.getCycleDataObjTypeCode(),"B3-新增我汇报的任务问题-D3-新增周期阶段资料-周期资料归属对象类型编码不能为空",false);
            addCycleStageDataRespDto = fwAppCycleStageDataClient.addCycleStageData(addCycleStageDataReqDto).getData();


//processBranchName:正常结束 ,processBranchId:6123

        } else {
            //else  6124

//异常结束 6125
            throw new BizException("B10000043", "对不起，该批次已锁定，请稍后重试！", false);
        }
        BffAddQuestionOfTaskReportRespDto retData = new BffAddQuestionOfTaskReportRespDto();


        return retData;
    }

    /**
     * B3-新增汇报给我的任务问题[3171]
     * gen by moon at 9/24/2022, 4:28:30 AM
     */
    @Trace(operationName = "B3-新增汇报给我的任务问题")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffAddQuestionOfTaskReportedToMeRespDto addQuestionOfTaskReportedToMe(BffAddQuestionOfTaskReportedToMeReqDto reqDto) {


        //virtualUsage D3-3查询评价模板批次设置  6111
        QueryPlanEvaBatchSetDetailRespDto queryPlanEvaBatchSetDetailRespDto = null;
        QueryPlanEvaBatchSetDetailReqDto queryPlanEvaBatchSetDetailReqDto = new QueryPlanEvaBatchSetDetailReqDto();
        queryPlanEvaBatchSetDetailReqDto.setBatchSetObjectType("TOP_EVA_TEMP_MGT");//sourceId:115721_1_6111
        if (reqDto != null) {
            queryPlanEvaBatchSetDetailReqDto.setBatchSetId(reqDto.getBatchSetId());//sourceId:115716_1_6111
        }

        /*D3-3查询评价模板批次设置[3005]   */
        Assert.isNull(queryPlanEvaBatchSetDetailReqDto.getBatchSetId(), "B3-新增汇报给我的任务问题-D3-3查询评价模板批次设置-批次设置对象ID不能为空", false);
        Assert.isNull(queryPlanEvaBatchSetDetailReqDto.getBatchSetObjectType(), "B3-新增汇报给我的任务问题-D3-3查询评价模板批次设置-批次设置对象类型不能为空", false);
        queryPlanEvaBatchSetDetailRespDto = fwAppBatchClient.queryPlanEvaBatchSetDetail(queryPlanEvaBatchSetDetailReqDto).getData();


        if ((queryPlanEvaBatchSetDetailRespDto != null && queryPlanEvaBatchSetDetailRespDto.getUsingLockStatus() != null && queryPlanEvaBatchSetDetailRespDto.getUsingLockStatus().equals("UNLOCK"))) {
            //if(D3-3查询评价模板批次设置.使用锁定状态 等于 未锁定)  6112

            AddCycleStageDataRespDto addCycleStageDataRespDto = null;
            AddCycleStageDataReqDto addCycleStageDataReqDto = new AddCycleStageDataReqDto();
//  addCycleStageDataReqDto.setCycleDataObjTypeCode("EVA_OBJ_TARGET_CYCLE");//sourceId:115773_1_6114
////addCycleStageDataReqDto.setRoleCode("DIRECTOR");//CUSTOM_CONVENTION//sourceId:126799_1_6114
//addCycleStageDataReqDto.setCyclePurposeTypeCode("OBS_TAR_REP");//sourceId:115768_1_6114
//addCycleStageDataReqDto.setSubjectLifeCycle("EDITING");//sourceId:115771_1_6114
//addCycleStageDataReqDto.setCycleDataTypeCode("CYC_STA_DAT");//sourceId:115772_1_6114
            if (reqDto != null) {
                addCycleStageDataReqDto.setStageContentType(reqDto.getStageContentType());//sourceId:115766_1_6114
                addCycleStageDataReqDto.setStageData(reqDto.getStageData());//sourceId:115767_1_6114
                addCycleStageDataReqDto.setCycleDataObjId(reqDto.getCycleDataObjId());//sourceId:115769_1_6114
            }

            /*D3-新增周期阶段资料[2679]   */
            Assert.isNull(addCycleStageDataReqDto.getStageContentType(), "B3-新增汇报给我的任务问题-D3-新增周期阶段资料-内容性质类型编码不能为空", false);
            Assert.isNull(addCycleStageDataReqDto.getStageData(), "B3-新增汇报给我的任务问题-D3-新增周期阶段资料-阶段资料具体内容不能为空", false);
            Assert.isNull(addCycleStageDataReqDto.getCycleDataObjId(), "B3-新增汇报给我的任务问题-D3-新增周期阶段资料-周期资料归属对象ID不能为空", false);
//Assert.isNull(addCycleStageDataReqDto.getCycleDataObjTypeCode(),"B3-新增汇报给我的任务问题-D3-新增周期阶段资料-周期资料归属对象类型编码不能为空",false);
//Assert.isNull(addCycleStageDataReqDto.getRoleCode(),"B3-新增汇报给我的任务问题-D3-新增周期阶段资料-普通角色标识不能为空",false);
//Assert.isNull(addCycleStageDataReqDto.getCyclePurposeTypeCode(),"B3-新增汇报给我的任务问题-D3-新增周期阶段资料-周期资料用途类型编码不能为空",false);
//Assert.isNull(addCycleStageDataReqDto.getSubjectLifeCycle(),"B3-新增汇报给我的任务问题-D3-新增周期阶段资料-主体生命周期不能为空",false);
//Assert.isNull(addCycleStageDataReqDto.getCycleDataTypeCode(),"B3-新增汇报给我的任务问题-D3-新增周期阶段资料-周期阶段资料类型编码不能为空",false);
            addCycleStageDataRespDto = fwAppCycleStageDataClient.addCycleStageData(addCycleStageDataReqDto).getData();


//processBranchName:正常结束 ,processBranchId:6115

        } else {
            //else  6116

//异常结束 6117
            throw new BizException("B10000043", "对不起，该批次已锁定，请稍后重试！", false);
        }
        BffAddQuestionOfTaskReportedToMeRespDto retData = new BffAddQuestionOfTaskReportedToMeRespDto();


        return retData;
    }

    /**
     * B3-新增汇报任务资料文档关系[3274]
     * gen by moon at 7/18/2024, 6:41:41 PM
     */
    @Trace(operationName = "B3-新增汇报任务资料文档关系")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffAddReportingTaskInfoDocRelaRespDto addReportingTaskInfoDocRela(BffAddReportingTaskInfoDocRelaReqDto reqDto) {


        //virtualUsage D3-3查询被评对象目标周期详情(边界)  6908
        QueryEvaObjTargetCycleDetailBorderRespDto queryEvaObjTargetCycleDetailBorderRespDto = null;
        QueryEvaObjTargetCycleDetailBorderReqDto queryEvaObjTargetCycleDetailBorderReqDto = new QueryEvaObjTargetCycleDetailBorderReqDto();


        /*D3-3查询被评对象目标周期详情(边界)[3159]   */
        Assert.isNull(queryEvaObjTargetCycleDetailBorderReqDto.getEvaObjTargetCycleId(), "B3-新增汇报任务资料文档关系-D3-3查询被评对象目标周期详情(边界)-被评对象目标周期ID不能为空", false);
        queryEvaObjTargetCycleDetailBorderRespDto = fwAppTargetCycleClient.queryEvaObjTargetCycleDetailBorder(queryEvaObjTargetCycleDetailBorderReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


//virtualUsage D3执行内容类型互转表类型(公共)  69831
        ImplementContentTypeChangeTableTypeComRespDto implementContentTypeChangeTableTypeComRespDto = null;
        if (queryEvaObjTargetCycleDetailBorderRespDto != null) {
            ImplementContentTypeChangeTableTypeComReqDto implementContentTypeChangeTableTypeComReqDto = new ImplementContentTypeChangeTableTypeComReqDto();
            if (queryEvaObjTargetCycleDetailBorderRespDto != null) {
                implementContentTypeChangeTableTypeComReqDto.setTargetCycleContentTypeCode(queryEvaObjTargetCycleDetailBorderRespDto.getTargetCycleContentTypeCode());//SimpleFieldAssign//sourceId:1859404_1_69831
            }

            /*D3执行内容类型互转表类型(公共)[5354]   */
            Assert.isNull(implementContentTypeChangeTableTypeComReqDto.getTargetCycleContentTypeCode(), "B3-新增汇报任务资料文档关系-D3执行内容类型互转表类型(公共)-关联目标内容类型编码不能为空", false);
            implementContentTypeChangeTableTypeComRespDto = fwAppIndexSystemClient.implementContentTypeChangeTableTypeCom(implementContentTypeChangeTableTypeComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        }
//virtualUsage D3-3查询周期阶段资料详情(公共)  13038
        QueryCycleStageDataDetailComRespDto queryCycleStageDataDetailComRespDto = null;
        QueryCycleStageDataDetailComReqDto queryCycleStageDataDetailComReqDto = new QueryCycleStageDataDetailComReqDto();
        queryCycleStageDataDetailComReqDto.setIsArchive("FALSE");//sourceId:203192_1_13038
        queryCycleStageDataDetailComReqDto.setSpaceId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:203183_1_13038
        if (reqDto != null) {
            queryCycleStageDataDetailComReqDto.setCycleStageDataId(reqDto.getCycleStageDataId());//SimpleFieldAssign//sourceId:203172_1_13038
        }

        /*D3-3查询周期阶段资料详情(公共)[3962]   */
        Assert.isNull(queryCycleStageDataDetailComReqDto.getCycleStageDataId(), "B3-新增汇报任务资料文档关系-D3-3查询周期阶段资料详情(公共)-周期阶段资料记录ID不能为空", false);
        Assert.isNull(queryCycleStageDataDetailComReqDto.getIsArchive(), "B3-新增汇报任务资料文档关系-D3-3查询周期阶段资料详情(公共)-是否存档不能为空", false);
        Assert.isNull(queryCycleStageDataDetailComReqDto.getSpaceId(), "B3-新增汇报任务资料文档关系-D3-3查询周期阶段资料详情(公共)-创建于空间ID不能为空", false);
        queryCycleStageDataDetailComRespDto = fwAppCycleStageDataClient.queryCycleStageDataDetailCom(queryCycleStageDataDetailComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        if ((queryCycleStageDataDetailComRespDto != null && queryCycleStageDataDetailComRespDto.getIsPlanReceptionCycle() != null && queryCycleStageDataDetailComRespDto.getIsPlanReceptionCycle().equals("TRUE"))) {
            //if(D3-3查询周期阶段资料详情(公共).是否计划验收周期 等于 是)  6910

            ImplementSeparateAddOrDeleteDocListComRespDto implementSeparateAddOrDeleteDocListComRespDto = null;
            if (queryEvaObjTargetCycleDetailBorderRespDto != null && implementContentTypeChangeTableTypeComRespDto != null) {
                ImplementSeparateAddOrDeleteDocListComReqDto implementSeparateAddOrDeleteDocListComReqDto = new ImplementSeparateAddOrDeleteDocListComReqDto();
                implementSeparateAddOrDeleteDocListComReqDto.setIsCleanPersonalInvalidDocument("TRUE");//sourceId:1934776_1_69829
                implementSeparateAddOrDeleteDocListComReqDto.setDocUseSceneCode("PLANNING");//sourceId:1859377_1_69829
                implementSeparateAddOrDeleteDocListComReqDto.setDocUseType("REPORT_ATTACH");//sourceId:1859378_1_69829
                implementSeparateAddOrDeleteDocListComReqDto.setIsResult("TRUE");//sourceId:1859387_1_69829
                implementSeparateAddOrDeleteDocListComReqDto.setOwnTableTypeCode("OMS_TSPE_CYCLE_STAGE_DATA");//sourceId:1859380_1_69829
                implementSeparateAddOrDeleteDocListComReqDto.setThemeContentTypeCode("OMS_EVALUATION_TEMPLATE");//sourceId:1859384_1_69829
                implementSeparateAddOrDeleteDocListComReqDto.setUserId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecUserId());//CURRENT_USERID//sourceId:1859386_1_69829
                implementSeparateAddOrDeleteDocListComReqDto.setSpaceId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:1859375_1_69829
                if (reqDto != null && reqDto.getUnstructuredRelationshipList() != null && !CollectionUtil.isEmpty(reqDto.getUnstructuredRelationshipList())) {
                    implementSeparateAddOrDeleteDocListComReqDto.setDocumentList(reqDto.getUnstructuredRelationshipList().stream().map(item -> BeanUtil.toBean(item, com.wicket.okrcomponent.integration.dto.DocumentDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:1859376_1_69829
                }
                if (reqDto != null) {
                    implementSeparateAddOrDeleteDocListComReqDto.setOwnEntityId(reqDto.getCycleStageDataId());//SimpleFieldAssign//sourceId:1859374_1_69829
                }
                if (queryEvaObjTargetCycleDetailBorderRespDto != null) {
                    implementSeparateAddOrDeleteDocListComReqDto.setOwnWorkCycleId(queryEvaObjTargetCycleDetailBorderRespDto.getCycleId());//SimpleFieldAssign//sourceId:1859379_1_69829
                    implementSeparateAddOrDeleteDocListComReqDto.setOwnParentContentCode(queryEvaObjTargetCycleDetailBorderRespDto.getEvaObjTargetCycleCode());//SimpleFieldAssign//sourceId:1859382_1_69829
                    implementSeparateAddOrDeleteDocListComReqDto.setOwnParentContentId(queryEvaObjTargetCycleDetailBorderRespDto.getTargetCycleContentId());//SimpleFieldAssign//sourceId:1859383_1_69829
                    implementSeparateAddOrDeleteDocListComReqDto.setThemeContentId(queryEvaObjTargetCycleDetailBorderRespDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1859385_1_69829
                }
                if (implementContentTypeChangeTableTypeComRespDto != null) {
                    implementSeparateAddOrDeleteDocListComReqDto.setOwnParentContentTypeCode(implementContentTypeChangeTableTypeComRespDto.getTableTypeCode());//SimpleFieldAssign//sourceId:1859381_1_69829
                }

                /*D2执行分离新增或删除文档列表（是结果文档）[8783]   */
                Assert.isNull(implementSeparateAddOrDeleteDocListComReqDto.getIsCleanPersonalInvalidDocument(), "B3-新增汇报任务资料文档关系-D2执行分离新增或删除文档列表（是结果文档）-是否清理个人无效文档不能为空", false);
                Assert.isNull(implementSeparateAddOrDeleteDocListComReqDto.getDocUseSceneCode(), "B3-新增汇报任务资料文档关系-D2执行分离新增或删除文档列表（是结果文档）-文档应用业务场景不能为空", false);
                Assert.isNull(implementSeparateAddOrDeleteDocListComReqDto.getDocUseType(), "B3-新增汇报任务资料文档关系-D2执行分离新增或删除文档列表（是结果文档）-文档用途类型不能为空", false);
                Assert.isNull(implementSeparateAddOrDeleteDocListComReqDto.getIsResult(), "B3-新增汇报任务资料文档关系-D2执行分离新增或删除文档列表（是结果文档）-冗余是否结果文档不能为空", false);
                Assert.isNull(implementSeparateAddOrDeleteDocListComReqDto.getOwnEntityId(), "B3-新增汇报任务资料文档关系-D2执行分离新增或删除文档列表（是结果文档）-归属内容表主键ID不能为空", false);
                Assert.isNull(implementSeparateAddOrDeleteDocListComReqDto.getOwnTableTypeCode(), "B3-新增汇报任务资料文档关系-D2执行分离新增或删除文档列表（是结果文档）-归属内容表类型编码不能为空", false);
                Assert.isNull(implementSeparateAddOrDeleteDocListComReqDto.getOwnWorkCycleId(), "B3-新增汇报任务资料文档关系-D2执行分离新增或删除文档列表（是结果文档）-归属工作周期ID不能为空", false);
                Assert.isNull(implementSeparateAddOrDeleteDocListComReqDto.getOwnParentContentTypeCode(), "B3-新增汇报任务资料文档关系-D2执行分离新增或删除文档列表（是结果文档）-归属父内容表类型编码不能为空", false);
                Assert.isNull(implementSeparateAddOrDeleteDocListComReqDto.getOwnParentContentCode(), "B3-新增汇报任务资料文档关系-D2执行分离新增或删除文档列表（是结果文档）-归属父内容标识不能为空", false);
                Assert.isNull(implementSeparateAddOrDeleteDocListComReqDto.getOwnParentContentId(), "B3-新增汇报任务资料文档关系-D2执行分离新增或删除文档列表（是结果文档）-归属父内容表主键ID不能为空", false);
                Assert.isNull(implementSeparateAddOrDeleteDocListComReqDto.getThemeContentTypeCode(), "B3-新增汇报任务资料文档关系-D2执行分离新增或删除文档列表（是结果文档）-主题内容表类型编码不能为空", false);
                Assert.isNull(implementSeparateAddOrDeleteDocListComReqDto.getThemeContentId(), "B3-新增汇报任务资料文档关系-D2执行分离新增或删除文档列表（是结果文档）-主题内容ID不能为空", false);
                Assert.isNull(implementSeparateAddOrDeleteDocListComReqDto.getUserId(), "B3-新增汇报任务资料文档关系-D2执行分离新增或删除文档列表（是结果文档）-归属个人账号不能为空", false);
                Assert.isNull(implementSeparateAddOrDeleteDocListComReqDto.getSpaceId(), "B3-新增汇报任务资料文档关系-D2执行分离新增或删除文档列表（是结果文档）-创建于空间ID不能为空", false);
                implementSeparateAddOrDeleteDocListComRespDto = fwCompUnstructuredDataClient.implementSeparateAddOrDeleteDocListCom(implementSeparateAddOrDeleteDocListComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


            }
        } else {
            //else  6913

            ImplementSeparateAddOrDeleteDocListComRespDto implementSeparateAddOrDeleteDocListComRespDto_1 = null;
            if (queryEvaObjTargetCycleDetailBorderRespDto != null && implementContentTypeChangeTableTypeComRespDto != null) {
                ImplementSeparateAddOrDeleteDocListComReqDto implementSeparateAddOrDeleteDocListComReqDto_1 = new ImplementSeparateAddOrDeleteDocListComReqDto();
                implementSeparateAddOrDeleteDocListComReqDto_1.setIsCleanPersonalInvalidDocument("TRUE");//sourceId:1934777_1_69830
                implementSeparateAddOrDeleteDocListComReqDto_1.setDocUseSceneCode("PLANNING");//sourceId:1859391_1_69830
                implementSeparateAddOrDeleteDocListComReqDto_1.setDocUseType("REPORT_ATTACH");//sourceId:1859392_1_69830
                implementSeparateAddOrDeleteDocListComReqDto_1.setIsResult("FALSE");//sourceId:1859401_1_69830
                implementSeparateAddOrDeleteDocListComReqDto_1.setOwnTableTypeCode("OMS_TSPE_CYCLE_STAGE_DATA");//sourceId:1859394_1_69830
                implementSeparateAddOrDeleteDocListComReqDto_1.setThemeContentTypeCode("OMS_EVALUATION_TEMPLATE");//sourceId:1859398_1_69830
                implementSeparateAddOrDeleteDocListComReqDto_1.setUserId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecUserId());//CURRENT_USERID//sourceId:1859400_1_69830
                implementSeparateAddOrDeleteDocListComReqDto_1.setSpaceId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:1859389_1_69830
                if (reqDto != null && reqDto.getUnstructuredRelationshipList() != null && !CollectionUtil.isEmpty(reqDto.getUnstructuredRelationshipList())) {
                    implementSeparateAddOrDeleteDocListComReqDto_1.setDocumentList(reqDto.getUnstructuredRelationshipList().stream().map(item -> BeanUtil.toBean(item, com.wicket.okrcomponent.integration.dto.DocumentDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:1859390_1_69830
                }
                if (reqDto != null) {
                    implementSeparateAddOrDeleteDocListComReqDto_1.setOwnEntityId(reqDto.getCycleStageDataId());//SimpleFieldAssign//sourceId:1859388_1_69830
                }
                if (queryEvaObjTargetCycleDetailBorderRespDto != null) {
                    implementSeparateAddOrDeleteDocListComReqDto_1.setOwnWorkCycleId(queryEvaObjTargetCycleDetailBorderRespDto.getCycleId());//SimpleFieldAssign//sourceId:1859393_1_69830
                    implementSeparateAddOrDeleteDocListComReqDto_1.setOwnParentContentCode(queryEvaObjTargetCycleDetailBorderRespDto.getEvaObjTargetCycleCode());//SimpleFieldAssign//sourceId:1859396_1_69830
                    implementSeparateAddOrDeleteDocListComReqDto_1.setOwnParentContentId(queryEvaObjTargetCycleDetailBorderRespDto.getTargetCycleContentId());//SimpleFieldAssign//sourceId:1859397_1_69830
                    implementSeparateAddOrDeleteDocListComReqDto_1.setThemeContentId(queryEvaObjTargetCycleDetailBorderRespDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1859399_1_69830
                }
                if (implementContentTypeChangeTableTypeComRespDto != null) {
                    implementSeparateAddOrDeleteDocListComReqDto_1.setOwnParentContentTypeCode(implementContentTypeChangeTableTypeComRespDto.getTableTypeCode());//SimpleFieldAssign//sourceId:1859395_1_69830
                }

                /*D2执行分离新增或删除文档列表（不是结果文档）[8783]   */
                Assert.isNull(implementSeparateAddOrDeleteDocListComReqDto_1.getIsCleanPersonalInvalidDocument(), "B3-新增汇报任务资料文档关系-D2执行分离新增或删除文档列表（不是结果文档）-是否清理个人无效文档不能为空", false);
                Assert.isNull(implementSeparateAddOrDeleteDocListComReqDto_1.getDocUseSceneCode(), "B3-新增汇报任务资料文档关系-D2执行分离新增或删除文档列表（不是结果文档）-文档应用业务场景不能为空", false);
                Assert.isNull(implementSeparateAddOrDeleteDocListComReqDto_1.getDocUseType(), "B3-新增汇报任务资料文档关系-D2执行分离新增或删除文档列表（不是结果文档）-文档用途类型不能为空", false);
                Assert.isNull(implementSeparateAddOrDeleteDocListComReqDto_1.getIsResult(), "B3-新增汇报任务资料文档关系-D2执行分离新增或删除文档列表（不是结果文档）-冗余是否结果文档不能为空", false);
                Assert.isNull(implementSeparateAddOrDeleteDocListComReqDto_1.getOwnEntityId(), "B3-新增汇报任务资料文档关系-D2执行分离新增或删除文档列表（不是结果文档）-归属内容表主键ID不能为空", false);
                Assert.isNull(implementSeparateAddOrDeleteDocListComReqDto_1.getOwnTableTypeCode(), "B3-新增汇报任务资料文档关系-D2执行分离新增或删除文档列表（不是结果文档）-归属内容表类型编码不能为空", false);
                Assert.isNull(implementSeparateAddOrDeleteDocListComReqDto_1.getOwnWorkCycleId(), "B3-新增汇报任务资料文档关系-D2执行分离新增或删除文档列表（不是结果文档）-归属工作周期ID不能为空", false);
                Assert.isNull(implementSeparateAddOrDeleteDocListComReqDto_1.getOwnParentContentTypeCode(), "B3-新增汇报任务资料文档关系-D2执行分离新增或删除文档列表（不是结果文档）-归属父内容表类型编码不能为空", false);
                Assert.isNull(implementSeparateAddOrDeleteDocListComReqDto_1.getOwnParentContentCode(), "B3-新增汇报任务资料文档关系-D2执行分离新增或删除文档列表（不是结果文档）-归属父内容标识不能为空", false);
                Assert.isNull(implementSeparateAddOrDeleteDocListComReqDto_1.getOwnParentContentId(), "B3-新增汇报任务资料文档关系-D2执行分离新增或删除文档列表（不是结果文档）-归属父内容表主键ID不能为空", false);
                Assert.isNull(implementSeparateAddOrDeleteDocListComReqDto_1.getThemeContentTypeCode(), "B3-新增汇报任务资料文档关系-D2执行分离新增或删除文档列表（不是结果文档）-主题内容表类型编码不能为空", false);
                Assert.isNull(implementSeparateAddOrDeleteDocListComReqDto_1.getThemeContentId(), "B3-新增汇报任务资料文档关系-D2执行分离新增或删除文档列表（不是结果文档）-主题内容ID不能为空", false);
                Assert.isNull(implementSeparateAddOrDeleteDocListComReqDto_1.getUserId(), "B3-新增汇报任务资料文档关系-D2执行分离新增或删除文档列表（不是结果文档）-归属个人账号不能为空", false);
                Assert.isNull(implementSeparateAddOrDeleteDocListComReqDto_1.getSpaceId(), "B3-新增汇报任务资料文档关系-D2执行分离新增或删除文档列表（不是结果文档）-创建于空间ID不能为空", false);
                implementSeparateAddOrDeleteDocListComRespDto_1 = fwCompUnstructuredDataClient.implementSeparateAddOrDeleteDocListCom(implementSeparateAddOrDeleteDocListComReqDto_1).getData()/*vcase invoke 跨dubbo调用;*/;


            }
        }
        BffAddReportingTaskInfoDocRelaRespDto retData = new BffAddReportingTaskInfoDocRelaRespDto();


        return retData;
    }

    /**
     * B3-查询编辑状态周期阶段资料内容详情[3298]
     * gen by moon at 5/2/2024, 6:29:52 PM
     */
    @Trace(operationName = "B3-查询编辑状态周期阶段资料内容详情")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffQueryEditStatusCycleStageDataDetailRespDto queryEditStatusCycleStageDataDetail(BffQueryEditStatusCycleStageDataDetailReqDto reqDto) {


        QueryEditStatusCycleStageDataDetailRespDto queryEditStatusCycleStageDataDetailRespDto_1 = null;
//步骤0: D3-查询编辑状态周期阶段资料内容详情 - queryEditStatusCycleStageDataDetail
        QueryEditStatusCycleStageDataDetailRespDto queryEditStatusCycleStageDataDetailRespDto = null;
        QueryEditStatusCycleStageDataDetailReqDto queryEditStatusCycleStageDataDetailReqDto = new QueryEditStatusCycleStageDataDetailReqDto();
        queryEditStatusCycleStageDataDetailReqDto.setSubjectLifeCycle("EDITING");//sourceId:127357_1
        if (reqDto != null) {
            queryEditStatusCycleStageDataDetailReqDto.setCycleStageDataId(reqDto.getCycleStageDataId());//SimpleFieldAssign//sourceId:127356_1
            queryEditStatusCycleStageDataDetailReqDto.setEvaObjTargetCycleId(reqDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:518194_1
            queryEditStatusCycleStageDataDetailReqDto.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:518195_1
        }

        /*D3-查询编辑状态周期阶段资料内容详情[3299]   */
        Assert.isNull(queryEditStatusCycleStageDataDetailReqDto.getCycleStageDataId(), "B3-查询编辑状态周期阶段资料内容详情-D3-查询编辑状态周期阶段资料内容详情-周期阶段资料记录ID不能为空", false);
        Assert.isNull(queryEditStatusCycleStageDataDetailReqDto.getEvaObjTargetCycleId(), "B3-查询编辑状态周期阶段资料内容详情-D3-查询编辑状态周期阶段资料内容详情-被评对象目标周期ID不能为空", false);
        Assert.isNull(queryEditStatusCycleStageDataDetailReqDto.getCycleId(), "B3-查询编辑状态周期阶段资料内容详情-D3-查询编辑状态周期阶段资料内容详情-周期ID不能为空", false);
        Assert.isNull(queryEditStatusCycleStageDataDetailReqDto.getSubjectLifeCycle(), "B3-查询编辑状态周期阶段资料内容详情-D3-查询编辑状态周期阶段资料内容详情-主体生命周期不能为空", false);
        queryEditStatusCycleStageDataDetailRespDto = fwAppCycleStageDataClient.queryEditStatusCycleStageDataDetail(queryEditStatusCycleStageDataDetailReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        queryEditStatusCycleStageDataDetailRespDto_1 = queryEditStatusCycleStageDataDetailRespDto;

        BffQueryEditStatusCycleStageDataDetailRespDto retData = new BffQueryEditStatusCycleStageDataDetailRespDto();
        if (queryEditStatusCycleStageDataDetailRespDto_1 != null) {
            retData.setCycleStageDataId(queryEditStatusCycleStageDataDetailRespDto_1.getCycleStageDataId());//SimpleFieldAssign//sourceId:127368_1
            retData.setCycleDataObjId(queryEditStatusCycleStageDataDetailRespDto_1.getCycleDataObjId());//SimpleFieldAssign//sourceId:127369_1
            retData.setParentSubMidCycleType(queryEditStatusCycleStageDataDetailRespDto_1.getParentSubMidCycleType());//SimpleFieldAssign//sourceId:1774956_1
            retData.setHypertextContent(queryEditStatusCycleStageDataDetailRespDto_1.getHypertextContent());//SimpleFieldAssign//sourceId:222859_1
            retData.setSumOfPro(queryEditStatusCycleStageDataDetailRespDto_1.getSumOfPro());//SimpleFieldAssign//sourceId:518202_1
            retData.setSolvingIdeas(queryEditStatusCycleStageDataDetailRespDto_1.getSolvingIdeas());//SimpleFieldAssign//sourceId:518203_1
            retData.setCycleStageAttaPicList(queryEditStatusCycleStageDataDetailRespDto_1.getCycleStageAttaPicList().stream().map(item -> BeanUtil.toBean(item, BffCycleStageAttaPicDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:777503_1
            for (BffCycleStageAttaPicDto one : retData.getCycleStageAttaPicList()) {
                one.setFileRelativeAllPathAccess(CommonFunctionHelper.getFilePath(one.getFileRelativePathAccess()));
            }
        }


        return retData;
    }

    /**
     * B3-查历史汇报任务的周期阶段资料详情(公共)[7594]
     * gen by moon at 9/29/2024, 3:41:05 PM
     */
    @Trace(operationName = "B3-查历史汇报任务的周期阶段资料详情(公共)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffQuerySubReportTaskCycleStageDataDetailComRespDto querySubReportTaskCycleStageDataDetailCom(BffQuerySubReportTaskCycleStageDataDetailComReqDto reqDto) {


        QueryReportingTaskInfoDetailComRespDto queryReportingTaskInfoDetailComRespDto_1 = null;
        ImplementMarkdownTurnToTextComRespDto implementMarkdownTurnToTextComRespDto_1 = null;
        QueryEvaStandardDataDetailComRespDto queryEvaStandardDataDetailComRespDto_1 = null;
        QueryInductionRecordDetailComBorderRespDto queryInductionRecordDetailComBorderRespDto_1 = null;
//步骤0: D3-查询汇报任务资料详情(公共) - queryReportingTaskInfoDetailCom
        QueryReportingTaskInfoDetailComRespDto queryReportingTaskInfoDetailComRespDto = null;
        QueryReportingTaskInfoDetailComReqDto queryReportingTaskInfoDetailComReqDto = new QueryReportingTaskInfoDetailComReqDto();
        queryReportingTaskInfoDetailComReqDto.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:1198839_1
        if (reqDto != null) {
            queryReportingTaskInfoDetailComReqDto.setCycleStageDataId(reqDto.getCycleStageDataId());//SimpleFieldAssign//sourceId:1198833_1
        }

        /*D3-查询汇报任务资料详情(公共)[2784]   */
        Assert.isNull(queryReportingTaskInfoDetailComReqDto.getCycleStageDataId(), "B3-查历史汇报任务的周期阶段资料详情(公共)-D3-查询汇报任务资料详情(公共)-周期阶段资料记录ID不能为空", false);
        Assert.isNull(queryReportingTaskInfoDetailComReqDto.getSubjectLifeCycle(), "B3-查历史汇报任务的周期阶段资料详情(公共)-D3-查询汇报任务资料详情(公共)-主体生命周期不能为空", false);
        queryReportingTaskInfoDetailComRespDto = fwAppTaskClient.queryReportingTaskInfoDetailCom(queryReportingTaskInfoDetailComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        queryReportingTaskInfoDetailComRespDto_1 = queryReportingTaskInfoDetailComRespDto;

//步骤1: D2-执行markdown转文本(公共) - implementMarkdownTurnToTextCom
        ImplementMarkdownTurnToTextComRespDto implementMarkdownTurnToTextComRespDto = null;
        if (queryReportingTaskInfoDetailComRespDto != null) {
            ImplementMarkdownTurnToTextComReqDto implementMarkdownTurnToTextComReqDto = new ImplementMarkdownTurnToTextComReqDto();
            if (queryReportingTaskInfoDetailComRespDto != null) {
                implementMarkdownTurnToTextComReqDto.setMarkdownContent(queryReportingTaskInfoDetailComRespDto.getHypertextContent());//SimpleFieldAssign//sourceId:1198891_1
            }

            /*D2-将汇报总结富文本转文本字段(公共)[7517]   */
            Assert.isNull(implementMarkdownTurnToTextComReqDto.getMarkdownContent(), "B3-查历史汇报任务的周期阶段资料详情(公共)-D2-将汇报总结富文本转文本字段(公共)-markdown文本内容不能为空", false);
            implementMarkdownTurnToTextComRespDto = fwCompInterfaceModeClient.implementMarkdownTurnToTextCom(implementMarkdownTurnToTextComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


            implementMarkdownTurnToTextComRespDto_1 = implementMarkdownTurnToTextComRespDto;
        }

//步骤2: D4-1查询评价模板标准数据详情(公共) - queryEvaStandardDataDetailCom
        QueryEvaStandardDataDetailComRespDto queryEvaStandardDataDetailComRespDto = null;
        if (queryReportingTaskInfoDetailComRespDto != null) {
            QueryEvaStandardDataDetailComReqDto queryEvaStandardDataDetailComReqDto = new QueryEvaStandardDataDetailComReqDto();
            queryEvaStandardDataDetailComReqDto.setTableTypeCode("OMS_EVALUATION_OBJECT_TARGET_CYCLE");//sourceId:1198848_1
            queryEvaStandardDataDetailComReqDto.setDataUsageSceneCode("TARGET_PLAN_CALC_DATA_STATISTICS");//sourceId:1198890_1
            queryEvaStandardDataDetailComReqDto.setIsNewData("TRUE");//sourceId:1198854_1
            queryEvaStandardDataDetailComReqDto.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:1198853_1
            queryEvaStandardDataDetailComReqDto.setExtendedField3("EVA_OBJECT");//CUSTOM_CONVENTION//sourceId:2012108_1
            queryEvaStandardDataDetailComReqDto.setThemeContentTypeCode("OMS_EVALUATION_TEMPLATE");//sourceId:1198857_1
            if (queryReportingTaskInfoDetailComRespDto != null) {
                queryEvaStandardDataDetailComReqDto.setEntityId(queryReportingTaskInfoDetailComRespDto.getCycleDataObjId());//SimpleFieldAssign//sourceId:1198849_1
                queryEvaStandardDataDetailComReqDto.setPeriodId(queryReportingTaskInfoDetailComRespDto.getCycleId());//SimpleFieldAssign//sourceId:1198850_1
            }
            if (reqDto != null) {
                queryEvaStandardDataDetailComReqDto.setThemeContentId(reqDto.getThemeContentId());//SimpleFieldAssign//sourceId:1198858_1
            }

            /*D4-1查询评价模板标准数据详情(公共)[3141]   */
            Assert.isNull(queryEvaStandardDataDetailComReqDto.getTableTypeCode(), "B3-查历史汇报任务的周期阶段资料详情(公共)-D4-1查询评价模板标准数据详情(公共)-归属内容表类型编码不能为空", false);
            Assert.isNull(queryEvaStandardDataDetailComReqDto.getEntityId(), "B3-查历史汇报任务的周期阶段资料详情(公共)-D4-1查询评价模板标准数据详情(公共)-归属内容表主键ID不能为空", false);
            Assert.isNull(queryEvaStandardDataDetailComReqDto.getPeriodId(), "B3-查历史汇报任务的周期阶段资料详情(公共)-D4-1查询评价模板标准数据详情(公共)-周期ID不能为空", false);
            Assert.isNull(queryEvaStandardDataDetailComReqDto.getDataUsageSceneCode(), "B3-查历史汇报任务的周期阶段资料详情(公共)-D4-1查询评价模板标准数据详情(公共)-数据业务场景不能为空", false);
            Assert.isNull(queryEvaStandardDataDetailComReqDto.getIsNewData(), "B3-查历史汇报任务的周期阶段资料详情(公共)-D4-1查询评价模板标准数据详情(公共)-是否归属周期最新数据不能为空", false);
            Assert.isNull(queryEvaStandardDataDetailComReqDto.getSubjectLifeCycle(), "B3-查历史汇报任务的周期阶段资料详情(公共)-D4-1查询评价模板标准数据详情(公共)-主体生命周期不能为空", false);
            Assert.isNull(queryEvaStandardDataDetailComReqDto.getExtendedField3(), "B3-查历史汇报任务的周期阶段资料详情(公共)-D4-1查询评价模板标准数据详情(公共)-扩展字段3不能为空", false);
            Assert.isNull(queryEvaStandardDataDetailComReqDto.getThemeContentTypeCode(), "B3-查历史汇报任务的周期阶段资料详情(公共)-D4-1查询评价模板标准数据详情(公共)-主题内容类型编码不能为空", false);
            Assert.isNull(queryEvaStandardDataDetailComReqDto.getThemeContentId(), "B3-查历史汇报任务的周期阶段资料详情(公共)-D4-1查询评价模板标准数据详情(公共)-评价模板ID不能为空", false);
            queryEvaStandardDataDetailComRespDto = fwCalcStandardDataClient.queryEvaStandardDataDetailCom(queryEvaStandardDataDetailComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


            queryEvaStandardDataDetailComRespDto_1 = queryEvaStandardDataDetailComRespDto;
        }

//步骤3: D1-3查询就职记录详情(公共)(边界) - queryInductionRecordDetailComBorder
        QueryInductionRecordDetailComBorderRespDto queryInductionRecordDetailComBorderRespDto = null;
        if (queryReportingTaskInfoDetailComRespDto != null) {
            QueryInductionRecordDetailComBorderReqDto queryInductionRecordDetailComBorderReqDto = new QueryInductionRecordDetailComBorderReqDto();
            if (queryReportingTaskInfoDetailComRespDto != null) {
                queryInductionRecordDetailComBorderReqDto.setInductionRecordId(queryReportingTaskInfoDetailComRespDto.getVirtualOrgInductionRecordId());//SimpleFieldAssign//sourceId:1199086_1
            }

            /*D1-3查询就职记录详情(公共)(边界)[1340]   */
            Assert.isNull(queryInductionRecordDetailComBorderReqDto.getInductionRecordId(), "B3-查历史汇报任务的周期阶段资料详情(公共)-D1-3查询就职记录详情(公共)(边界)-就职记录ID不能为空", false);
            queryInductionRecordDetailComBorderRespDto = fwBaseInductionRecordClient.queryInductionRecordDetailComBorder(queryInductionRecordDetailComBorderReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


            queryInductionRecordDetailComBorderRespDto_1 = queryInductionRecordDetailComBorderRespDto;
        }

        BffQuerySubReportTaskCycleStageDataDetailComRespDto retData = new BffQuerySubReportTaskCycleStageDataDetailComRespDto();
        if (queryReportingTaskInfoDetailComRespDto_1 != null) {
            retData.setCycleStageDataId(queryReportingTaskInfoDetailComRespDto_1.getCycleStageDataId());//SimpleFieldAssign//sourceId:1198895_1
            retData.setCycleDataObjId(queryReportingTaskInfoDetailComRespDto_1.getCycleDataObjId());//SimpleFieldAssign//sourceId:1198896_1
            retData.setTargetCycleStandardName(queryReportingTaskInfoDetailComRespDto_1.getTargetCycleStandardName());//SimpleFieldAssign//sourceId:1198897_1
            retData.setShowTargetValue(queryReportingTaskInfoDetailComRespDto_1.getShowTargetValue());//SimpleFieldAssign//sourceId:1198898_1
            retData.setUnit(queryReportingTaskInfoDetailComRespDto_1.getUnit());//SimpleFieldAssign//sourceId:1198899_1
            retData.setCycleId(queryReportingTaskInfoDetailComRespDto_1.getCycleId());//SimpleFieldAssign//sourceId:1198900_1
            retData.setExecuteCycleStandardName(queryReportingTaskInfoDetailComRespDto_1.getExecuteCycleStandardName());//SimpleFieldAssign//sourceId:1200293_1
            retData.setTaskName(queryReportingTaskInfoDetailComRespDto_1.getTaskName());//SimpleFieldAssign//sourceId:1198902_1
            retData.setActualEndTime(queryReportingTaskInfoDetailComRespDto_1.getActualEndTime());//SimpleFieldAssign//sourceId:1198903_1
            retData.setVirtualOrgInductionRecordId(queryReportingTaskInfoDetailComRespDto_1.getVirtualOrgInductionRecordId());//SimpleFieldAssign//sourceId:1199096_1
            retData.setPicSingleSetDataEntryList(queryReportingTaskInfoDetailComRespDto_1.getPicSingleSetDataEntryList());//list-field-assign//sourceId:1199469_1
        }
        if (implementMarkdownTurnToTextComRespDto_1 != null) {
            retData.setHypertextContent(implementMarkdownTurnToTextComRespDto_1.getCustomText());//SimpleFieldAssign//sourceId:1200303_1
        }
        if (queryInductionRecordDetailComBorderRespDto_1 != null) {
            retData.setIdCardName(queryInductionRecordDetailComBorderRespDto_1.getIdCardName());//SimpleFieldAssign//sourceId:1199099_1
            retData.setUserFace(queryInductionRecordDetailComBorderRespDto_1.getUserFace());//SimpleFieldAssign//sourceId:1199098_1
            retData.setNickName(queryInductionRecordDetailComBorderRespDto_1.getNickName());//SimpleFieldAssign//sourceId:1199100_1
        }
        if (queryEvaStandardDataDetailComRespDto_1 != null) {
            retData.setActualValue(queryEvaStandardDataDetailComRespDto_1.getActualValue());//SimpleFieldAssign//sourceId:1198906_1
            retData.setActualValueUnit(queryEvaStandardDataDetailComRespDto_1.getActualValueUnit());//SimpleFieldAssign//sourceId:1198907_1
            retData.setChangeFromLastTarget(queryEvaStandardDataDetailComRespDto_1.getChangeFromLastTarget());//SimpleFieldAssign//sourceId:1198908_1
            retData.setChangeFromLastTargetUnit(queryEvaStandardDataDetailComRespDto_1.getChangeFromLastTargetUnit());//SimpleFieldAssign//sourceId:1198909_1
            retData.setFromLastTargetLiftRatio(queryEvaStandardDataDetailComRespDto_1.getFromLastTargetLiftRatio());//SimpleFieldAssign//sourceId:1198910_1
            retData.setFromLastTargetLiftRatioUnit(queryEvaStandardDataDetailComRespDto_1.getFromLastTargetLiftRatioUnit());//SimpleFieldAssign//sourceId:1198911_1
            retData.setProgressValue(queryEvaStandardDataDetailComRespDto_1.getProgressValue());//SimpleFieldAssign//sourceId:1198912_1
            retData.setProgressValueUnit(queryEvaStandardDataDetailComRespDto_1.getProgressValueUnit());//SimpleFieldAssign//sourceId:1198913_1
            retData.setFromLastProgressValue(queryEvaStandardDataDetailComRespDto_1.getFromLastProgressValue());//SimpleFieldAssign//sourceId:1198914_1
            retData.setFromLastProgressValueUnit(queryEvaStandardDataDetailComRespDto_1.getFromLastProgressValueUnit());//SimpleFieldAssign//sourceId:1198915_1
            retData.setProgressFromLastRatio(queryEvaStandardDataDetailComRespDto_1.getProgressFromLastRatio());//SimpleFieldAssign//sourceId:1198916_1
            retData.setProgressFromLastRatioUnit(queryEvaStandardDataDetailComRespDto_1.getProgressFromLastRatioUnit());//SimpleFieldAssign//sourceId:1198917_1
            retData.setReach(queryEvaStandardDataDetailComRespDto_1.getReach());//SimpleFieldAssign//sourceId:1198918_1
            retData.setReachUnit(queryEvaStandardDataDetailComRespDto_1.getReachUnit());//SimpleFieldAssign//sourceId:1198919_1
            retData.setFromLastReach(queryEvaStandardDataDetailComRespDto_1.getFromLastReach());//SimpleFieldAssign//sourceId:1198920_1
            retData.setFromLastReachUnit(queryEvaStandardDataDetailComRespDto_1.getFromLastReachUnit());//SimpleFieldAssign//sourceId:1198921_1
            retData.setActualFromLastTimeRatio(queryEvaStandardDataDetailComRespDto_1.getActualFromLastTimeRatio());//SimpleFieldAssign//sourceId:1198922_1
            retData.setActualFromLastTimeRatioUnit(queryEvaStandardDataDetailComRespDto_1.getActualFromLastTimeRatioUnit());//SimpleFieldAssign//sourceId:1198923_1
            retData.setReportScore(queryEvaStandardDataDetailComRespDto_1.getReportScore());//SimpleFieldAssign//sourceId:1198924_1
            retData.setReportScoreUnit(queryEvaStandardDataDetailComRespDto_1.getReportScoreUnit());//SimpleFieldAssign//sourceId:1198925_1
            retData.setRealTimeScoreLevel(queryEvaStandardDataDetailComRespDto_1.getRealTimeScoreLevel());//SimpleFieldAssign//sourceId:1198928_1
            retData.setReportScoreValue(queryEvaStandardDataDetailComRespDto_1.getReportScoreValue());//SimpleFieldAssign//sourceId:1933819_1
        }


        return retData;
    }

    /**
     * B3-查询任务周期阶段资料详情[8325]
     * gen by moon at 8/9/2024, 10:44:33 AM
     */
    @Trace(operationName = "B3-查询任务周期阶段资料详情")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffQueryWorkTaskCycleStageDataDetailRespDto queryWorkTaskCycleStageDataDetail(BffQueryWorkTaskCycleStageDataDetailReqDto reqDto) {


        QueryWorkTaskCycleStageDataDetailComRespDto queryWorkTaskCycleStageDataDetailComRespDto_1 = null;
        QueryStandardDataListComRespDto queryStandardDataListComRespDto_1 = null;
//步骤0: D3-查询任务周期阶段资料详情(公共) - queryWorkTaskCycleStageDataDetailCom
        QueryWorkTaskCycleStageDataDetailComRespDto queryWorkTaskCycleStageDataDetailComRespDto = null;
        QueryWorkTaskCycleStageDataDetailComReqDto queryWorkTaskCycleStageDataDetailComReqDto = new QueryWorkTaskCycleStageDataDetailComReqDto();
        if (reqDto != null) {
            queryWorkTaskCycleStageDataDetailComReqDto.setCycleStageDataId(reqDto.getCycleStageDataId());//SimpleFieldAssign//sourceId:1495551_1
        }

        /*D3-查询任务周期阶段资料详情(公共)[8326]   */
        Assert.isNull(queryWorkTaskCycleStageDataDetailComReqDto.getCycleStageDataId(), "B3-查询任务周期阶段资料详情-D3-查询任务周期阶段资料详情(公共)-周期阶段资料记录ID不能为空", false);
        queryWorkTaskCycleStageDataDetailComRespDto = fwAppCycleStageDataClient.queryWorkTaskCycleStageDataDetailCom(queryWorkTaskCycleStageDataDetailComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        queryWorkTaskCycleStageDataDetailComRespDto_1 = queryWorkTaskCycleStageDataDetailComRespDto;

//步骤1: D4-1查询标准数据列表(公共) - queryStandardDataListCom
        QueryStandardDataListComRespDto queryStandardDataListComRespDto = null;
        QueryStandardDataListComReqDto queryStandardDataListComReqDto = new QueryStandardDataListComReqDto();
        queryStandardDataListComReqDto.setResultType("MANUAL_INPUT");//sourceId:1965663_1
        queryStandardDataListComReqDto.setIsArchive("FALSE");//sourceId:1965665_1
        queryStandardDataListComReqDto.setSpaceId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:1965666_1
        if (reqDto != null) {
            queryStandardDataListComReqDto.setFromContentEntityId(reqDto.getCycleStageDataId());//SimpleFieldAssign//sourceId:1965664_1
        }

        /*D4-1查询标准数据列表(公共)[4696]   */
        Assert.isNull(queryStandardDataListComReqDto.getResultType(), "B3-查询任务周期阶段资料详情-D4-1查询标准数据列表(公共)-结果产生类型不能为空", false);
        Assert.isNull(queryStandardDataListComReqDto.getFromContentEntityId(), "B3-查询任务周期阶段资料详情-D4-1查询标准数据列表(公共)-来自内容表主键ID不能为空", false);
        Assert.isNull(queryStandardDataListComReqDto.getIsArchive(), "B3-查询任务周期阶段资料详情-D4-1查询标准数据列表(公共)-是否存档不能为空", false);
        Assert.isNull(queryStandardDataListComReqDto.getSpaceId(), "B3-查询任务周期阶段资料详情-D4-1查询标准数据列表(公共)-创建于空间ID不能为空", false);
        queryStandardDataListComRespDto = fwCalcStandardDataClient.queryStandardDataListCom(queryStandardDataListComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        queryStandardDataListComRespDto_1 = queryStandardDataListComRespDto;

        BffQueryWorkTaskCycleStageDataDetailRespDto retData = new BffQueryWorkTaskCycleStageDataDetailRespDto();
        if (queryWorkTaskCycleStageDataDetailComRespDto_1 != null) {
            retData.setCycleStageDataId(queryWorkTaskCycleStageDataDetailComRespDto_1.getCycleStageDataId());//SimpleFieldAssign//sourceId:1495558_1
            retData.setCycleDataObjId(queryWorkTaskCycleStageDataDetailComRespDto_1.getCycleDataObjId());//SimpleFieldAssign//sourceId:1495559_1
            retData.setTextSummaryData(queryWorkTaskCycleStageDataDetailComRespDto_1.getTextSummaryData());//SimpleFieldAssign//sourceId:1965642_1
            retData.setHypertextContent(queryWorkTaskCycleStageDataDetailComRespDto_1.getHypertextContent());//SimpleFieldAssign//sourceId:1495560_1
        }
        if (queryStandardDataListComRespDto_1 != null) {
            retData.setStandardDataList(queryStandardDataListComRespDto_1.getStandardDataList().stream().map(item -> BeanUtil.toBean(item, BffStandardDataDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:1965667_1
        }


        return retData;
    }

    /**
     * B3分析下级全部汇报完成[9991]
     * gen by moon at 7/20/2024, 11:15:36 PM
     */
    @Trace(operationName = "B3分析下级全部汇报完成")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffAnalysisAllSubordinatesHaveCompletedReportRespDto analysisAllSubordinatesHaveCompletedReport(BffAnalysisAllSubordinatesHaveCompletedReportReqDto reqDto) {


        AnalysisAllSubordinatesHaveCompletedReportComRespDto analysisAllSubordinatesHaveCompletedReportComRespDto_1 = null;
//步骤0: D3分析下级全部汇报完成(公共) - analysisAllSubordinatesHaveCompletedReportCom
        AnalysisAllSubordinatesHaveCompletedReportComRespDto analysisAllSubordinatesHaveCompletedReportComRespDto = null;
        AnalysisAllSubordinatesHaveCompletedReportComReqDto analysisAllSubordinatesHaveCompletedReportComReqDto = new AnalysisAllSubordinatesHaveCompletedReportComReqDto();
        if (reqDto != null) {
            analysisAllSubordinatesHaveCompletedReportComReqDto.setEvaObjTypeCode(reqDto.getEvaObjTypeCode());//SimpleFieldAssign//sourceId:1943811_1
            analysisAllSubordinatesHaveCompletedReportComReqDto.setCycleStageDataId(reqDto.getCycleStageDataId());//SimpleFieldAssign//sourceId:1943809_1
            analysisAllSubordinatesHaveCompletedReportComReqDto.setThemeContentId(reqDto.getThemeContentId());//SimpleFieldAssign//sourceId:1943810_1
        }

        /*D3分析下级全部汇报完成(公共)[9990]   */
        Assert.isNull(analysisAllSubordinatesHaveCompletedReportComReqDto.getEvaObjTypeCode(), "B3分析下级全部汇报完成-D3分析下级全部汇报完成(公共)-主树被评对象类型编码不能为空", false);
        Assert.isNull(analysisAllSubordinatesHaveCompletedReportComReqDto.getCycleStageDataId(), "B3分析下级全部汇报完成-D3分析下级全部汇报完成(公共)-周期阶段资料记录ID不能为空", false);
        Assert.isNull(analysisAllSubordinatesHaveCompletedReportComReqDto.getThemeContentId(), "B3分析下级全部汇报完成-D3分析下级全部汇报完成(公共)-主题内容ID不能为空", false);
        analysisAllSubordinatesHaveCompletedReportComRespDto = fwAppCycleStageDataClient.analysisAllSubordinatesHaveCompletedReportCom(analysisAllSubordinatesHaveCompletedReportComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        analysisAllSubordinatesHaveCompletedReportComRespDto_1 = analysisAllSubordinatesHaveCompletedReportComRespDto;

        BffAnalysisAllSubordinatesHaveCompletedReportRespDto retData = new BffAnalysisAllSubordinatesHaveCompletedReportRespDto();
        if (analysisAllSubordinatesHaveCompletedReportComRespDto_1 != null) {
            retData.setDoDefaultReportCompletion(analysisAllSubordinatesHaveCompletedReportComRespDto_1.getDoDefaultReportCompletion());//SimpleFieldAssign//sourceId:1943816_1
        }


        return retData;
    }

    /**
     * B3查询暂存周期阶段资料信息详情[10090]
     * gen by moon at 8/13/2024, 6:40:26 PM
     */
    @Trace(operationName = "B3查询暂存周期阶段资料信息详情")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffQueryStagCycleStageDataInfoDetailRespDto queryStagCycleStageDataInfoDetail(BffQueryStagCycleStageDataInfoDetailReqDto reqDto) {


        QueryWorkTaskCycleStageDataDetailComRespDto queryWorkTaskCycleStageDataDetailComRespDto_1 = null;
        QueryToBeReportedWorkTaskStandardDataDetailComRespDto queryToBeReportedWorkTaskStandardDataDetailComRespDto_1 = null;
//步骤0: D3-查询任务周期阶段资料详情(公共) - queryWorkTaskCycleStageDataDetailCom
        QueryWorkTaskCycleStageDataDetailComRespDto queryWorkTaskCycleStageDataDetailComRespDto = null;
        QueryWorkTaskCycleStageDataDetailComReqDto queryWorkTaskCycleStageDataDetailComReqDto = new QueryWorkTaskCycleStageDataDetailComReqDto();
        if (reqDto != null) {
            queryWorkTaskCycleStageDataDetailComReqDto.setCycleStageDataId(reqDto.getCycleStageDataId());//SimpleFieldAssign//sourceId:1966838_1
        }

        /*D3-查询任务周期阶段资料详情(公共)[8326]   */
        Assert.isNull(queryWorkTaskCycleStageDataDetailComReqDto.getCycleStageDataId(), "B3查询暂存周期阶段资料信息详情-D3-查询任务周期阶段资料详情(公共)-周期阶段资料记录ID不能为空", false);
        queryWorkTaskCycleStageDataDetailComRespDto = fwAppCycleStageDataClient.queryWorkTaskCycleStageDataDetailCom(queryWorkTaskCycleStageDataDetailComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        queryWorkTaskCycleStageDataDetailComRespDto_1 = queryWorkTaskCycleStageDataDetailComRespDto;

//步骤1: D4-查待汇报工作任务标准数据详情(公共) - queryToBeReportedWorkTaskStandardDataDetailCom
        QueryToBeReportedWorkTaskStandardDataDetailComRespDto queryToBeReportedWorkTaskStandardDataDetailComRespDto = null;
        QueryToBeReportedWorkTaskStandardDataDetailComReqDto queryToBeReportedWorkTaskStandardDataDetailComReqDto = new QueryToBeReportedWorkTaskStandardDataDetailComReqDto();
        queryToBeReportedWorkTaskStandardDataDetailComReqDto.setDataUsageSceneCode("PMO_DATA_STATISTICS");//sourceId:1970217_1
        queryToBeReportedWorkTaskStandardDataDetailComReqDto.setDataType("PROGRESS_VALUE");//sourceId:1970214_1
        queryToBeReportedWorkTaskStandardDataDetailComReqDto.setSubjectLifeCycle("EDITING");//sourceId:1970222_1
        if (reqDto != null) {
            queryToBeReportedWorkTaskStandardDataDetailComReqDto.setFromContentEntityId(reqDto.getCycleStageDataId());//SimpleFieldAssign//sourceId:1970219_1
        }

        /*D4-查待汇报工作任务标准数据详情(公共)[8052]   */
        Assert.isNull(queryToBeReportedWorkTaskStandardDataDetailComReqDto.getFromContentEntityId(), "B3查询暂存周期阶段资料信息详情-D4-查待汇报工作任务标准数据详情(公共)-来自内容表主键ID不能为空", false);
        Assert.isNull(queryToBeReportedWorkTaskStandardDataDetailComReqDto.getDataUsageSceneCode(), "B3查询暂存周期阶段资料信息详情-D4-查待汇报工作任务标准数据详情(公共)-数据业务场景不能为空", false);
        Assert.isNull(queryToBeReportedWorkTaskStandardDataDetailComReqDto.getDataType(), "B3查询暂存周期阶段资料信息详情-D4-查待汇报工作任务标准数据详情(公共)-数据点类型不能为空", false);
        Assert.isNull(queryToBeReportedWorkTaskStandardDataDetailComReqDto.getSubjectLifeCycle(), "B3查询暂存周期阶段资料信息详情-D4-查待汇报工作任务标准数据详情(公共)-主体生命周期不能为空", false);
        queryToBeReportedWorkTaskStandardDataDetailComRespDto = fwCalcWorkTasksClient.queryToBeReportedWorkTaskStandardDataDetailCom(queryToBeReportedWorkTaskStandardDataDetailComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        queryToBeReportedWorkTaskStandardDataDetailComRespDto_1 = queryToBeReportedWorkTaskStandardDataDetailComRespDto;

        BffQueryStagCycleStageDataInfoDetailRespDto retData = new BffQueryStagCycleStageDataInfoDetailRespDto();
        if (queryWorkTaskCycleStageDataDetailComRespDto_1 != null) {
            retData.setCycleStageDataId(queryWorkTaskCycleStageDataDetailComRespDto_1.getCycleStageDataId());//SimpleFieldAssign//sourceId:1966844_1
            retData.setCycleDataObjId(queryWorkTaskCycleStageDataDetailComRespDto_1.getCycleDataObjId());//SimpleFieldAssign//sourceId:1966845_1
            retData.setTextSummaryData(queryWorkTaskCycleStageDataDetailComRespDto_1.getTextSummaryData());//SimpleFieldAssign//sourceId:1966846_1
            retData.setHypertextContent(queryWorkTaskCycleStageDataDetailComRespDto_1.getHypertextContent());//SimpleFieldAssign//sourceId:1966847_1
        }
        if (queryToBeReportedWorkTaskStandardDataDetailComRespDto_1 != null) {
            retData.setDataResultId(queryToBeReportedWorkTaskStandardDataDetailComRespDto_1.getDataResultId());//SimpleFieldAssign//sourceId:1970229_1
            retData.setDataResult(queryToBeReportedWorkTaskStandardDataDetailComRespDto_1.getDataResult());//SimpleFieldAssign//sourceId:1970230_1
            retData.setParentDataResultId(queryToBeReportedWorkTaskStandardDataDetailComRespDto_1.getParentDataResultId());//SimpleFieldAssign//sourceId:1970231_1
            retData.setParentDataResult(queryToBeReportedWorkTaskStandardDataDetailComRespDto_1.getParentDataResult());//SimpleFieldAssign//sourceId:1970232_1
            retData.setUnit(queryToBeReportedWorkTaskStandardDataDetailComRespDto_1.getUnit());//SimpleFieldAssign//sourceId:1970233_1
        }


        return retData;
    }
    //
}
